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".
If you expect to get fully working solutions on this (or probably any) forum, then you have at least to specify your requirements much more accurately that you have.
As background information, you could also present your project and what you are trying to achieve to get optimal help here.
If you are relatively new to Arduino programming, then you may also benefit from buying an Arduino Starter and working through some of the example projects there.
Either that or indicate that you are willing to pay for a completed solution. In that case you'll probably find that someone is more willing to engage one-on-one to get you something that works properly without having to guess at what you need.
His solution did what you said it should do, but what you said was not what you wanted. This is not the same thing as Patduinos's sketch not working.
lupiana:
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".