Hi.
I acquired an arduino mega 2560 couple weeks ago. Firstly I tried to upload code to the board with the arduino environment 1.0.1, aparently it uploads normally , the rx and tx leds blink for a short period.
Then when i open the serial monitor it doesnt appeear nothing.
After that i uploaded the 1.0.5-r2 environment , as i tought it could be the problem and tride to upload to board from that but it does the same.
I have a leonardo, and everything is fine with this one.
Things i am sure i did:
Choose the right board in the arduino environment;
Bluetooth disabled;
right com port selected.
Thanks in advance
The code im trying to upload is a very simple routine just to see if it works fine:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println('A');
delay(1000);
}
You're missing
Serial.begin(9600); // or some similar speed
in setup.
Thanks.
Stupid me
From the moment i open serial monitor till start printing the first caracter it takes 10 seconds or so.
Is this normal?
Yes. Depends on how long the bootloader waits to decide a download is not happening.
When the serial monitor opens it resets the Arduino. On my PC it looks to be resetting it several times.