Split-up Serial Command


hey all,

a basic question, use assistance! i'm sending command string arduino (ng) board, containing header, x position, y position , rotation value, want arduino read serial message, , able read these separate values. useful send kind of comma separated list of values, instance:

st,15400,23600,180#
where st header, 15400 x-position, 23600 y-position, , # makes end of message.

should try read serial data, store in array, , find way split array again using commas? suggestions welcome!

thanks in advance!

maybe important thing add: arduino receives ascii characters through serial connection, , supposed handle these. hope of able answer question!


Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Split-up Serial Command


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums