Hi patduino,
your solution don't work.
I try to explain better:
I want to turn on 3 LEDs and after each with delay (1000) bring it back to LOW and turn on the next.
When the first LED is HIGH want to send to the PC the number "1", when the second LED is HIGH want to send to the PC the number "2", When the third LED is HIGH want to send to the PC the number "0".
The sketch please.
Thanks