I searched the forums and googled Arduino serial problems but didn't find anything similar to mine, at least with Arduino Micro + Windows.
I just bought an Arduino Micro and started by running basic tests on it to see if it works properly.
No problems occurred during installation. I started Arduino 1.0.3 chose the correct board and serial port and uploaded the blink program. Everything worked as expected.
Then I moved on to test the serial communication. I uploaded this code:
int led = 13;
The upload was successful, the board was reset and then I opened the serial monitor and checked the baud rate to be 9600. Then things started getting weird:
At the two first times when the pin 13 LED is HIGH the TX LED blinks but nothing is received by the serial monitor. After this the TX LED does not blink but the 13 LED stays HIGH for longer than a second, maybe two. Nothing is written into the serial monitor at any time. When I close the serial monitor the 13 LED continues to blink at a normal pace.
I reset the board and tried again. The same thing happened. I re-uploaded the sketch and tried again. The same thing happened.
Does anybody have any suggestions as to what might be happening and how it could be fixed?
Feel free to ask more about my configuration if I failed to mention something important. Thank you for your responses in advance.