I am new to the Arduino, just got an UNO. very easy to setup and I am trying my first sketches successfully, BUT....
...when I write a sketch that requires serial output, the sketch works very well after upload from the IDE or after reset.
Now, if I disconnect the UNO, then reconnect it (power off, then on) the sketch restarts (a led continues blinking for example) but no characters can be transmitted on the serial .
Other sketches behave the same way. Examples provided with the IDE have the same problem (Basics, AnalogReadSerials or DigitalReadSerials). You can try it quite easily.
Seems that something in the hardware is intialized by the IDE on the board, which is not initialized by the sketches. In the 8U2 maybe ?
I need that the Arduino works as soon as power is available, so this is not convenient for my app.
Do you have an idea how to fix it ?
Thanks in advance.