i’m having some problems with parsing rs232 string from arduino board.
with one pot data from arduino looks like this:
value has range from 0 to 1023
with one pot there is no problem becouse i take the string to tokenizer (as separator i use letter a) and then transform it to value.
i was using patch from MrBenefit:
but when i use two pots i cant parse them with tokenizer.
data from arduino looks like this:
first and second value has range from 0 to 1023. first value is from pot 1 and second is from pot 2. i vould like to split this string in two values. i’ve try it with tokenizer and i cant make it work.
could someone give me some hints?