I want to send a parameter from my computer (i.e using Hercules software) using UDP protocol to my Arduino with Ethernet shield to turn 2 LED on and off (each of them).
The command I'm using is:
$A<lamp 1>,B<lamp 2>
for example
$A1,B0
Does anyone know how to write the sketch so the Arduino can read the parameter <lamp 1>
and <lamp 2>
?
The command i'm using is : $A,B for example $A1,B0
- I'm not sure what that means. – Nick Gammon Aug 20 at 9:29