I have tried with two leonardos to get some serial I/O with the monitor and so far nothing. I can upload programs (blink, etc). When I upload the following with the while enabled, I get nothing--no serial output, no blinking. If I comment out the while, the led blinks. Any suggestions? (besides going back to the uno)
//Leonardo test 1 -- check serial i/o
void setup(){
Serial.begin(9600);
pinMode(13,OUTPUT);
// while(!Serial);
}
void loop(){
int i;
Serial.println("Ready:");
for(i=1;i<11;i++) {
digitalWrite(13,HIGH);
delay(500);
Serial.println(i);
digitalWrite(13,LOW);
delay(200);
}
}