Hi all :)
Total noob, first post on the forums.
I just got my shiny new UNO boards and I'm slowly learning the language. I have 2 boards connected by 2 xbee modules. One of them is sending sensor information through the serial port. The string for each sensor value is separated by "|".
So the string that's sent over the port looks like this: 894|320|440|560
I can't seem to figure out how to split it up again and read one by one once it's received by the other board. In C# it's done by
string recievedStrings = comport1.ReadLine().Split("|"); int servopos = recievedStrings(1)