Multiple serial commands


i want arduino recieve serial message , run different commands based on contents of serial recieved. example, if recieved "r122" analogwrite (r, 122). if recieved "r155" analogwrite(r, 155)... b130 = analogwrite(b, 130) etc.

alternatively, recieve 1 message saying next message should applied pin.

how should go this?



Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Multiple serial commands


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