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>
Does anyone know how to write the sketch so the Arduino can read the parameter
<lamp 1> and