Splitting serial string
hi all,
can point me right direction regarding splitting string comes in through serial port?
i want send string "w,0,26" or "r,1" arduino, , depending on string, take different actions.
thanks in advance,
erisan500
can point me right direction regarding splitting string comes in through serial port?
i want send string "w,0,26" or "r,1" arduino, , depending on string, take different actions.
thanks in advance,
erisan500
i've seen 2 things mentioned...
1. scanf
http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1257423474
http://www.google.com/search?q=scanf+site%3aarduino.cc
2. hand-coded parsing...
http://www.google.com/search?q=parse+serial+data+site%3aarduino.cc
1. scanf
http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1257423474
http://www.google.com/search?q=scanf+site%3aarduino.cc
2. hand-coded parsing...
http://www.google.com/search?q=parse+serial+data+site%3aarduino.cc
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Splitting serial string
arduino
Comments
Post a Comment