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?
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
Post a Comment