Skip to main content
5 events
when toggle format what by license comment
Mar 25, 2016 at 18:26 comment added Dewan Thanks for your help! I finally got it to work and am now able to write up to 18 values (only had 3 potentiometers close so i did a little division to distinguish the values). Aparently when using myPort.read() the diffrent bytes automatically get split up, so all you have to do is read and assign them. Of course after spending all thia time did I realise its basically excactly what the one example in Arduino's IDE does :/
Mar 25, 2016 at 18:23 vote accept Dewan
Mar 20, 2016 at 21:35 comment added Majenko Well, Processing is Java. So maybe String[] bits = myIncomingString.split(" "); would do the trick...?
Mar 20, 2016 at 21:34 comment added Dewan What would I use to split the values up? Is there a comand or is the spacing interpreted as a type of break?
Mar 20, 2016 at 11:18 history answered Majenko CC BY-SA 3.0