jecrespo / duinos

Automatically exported from code.google.com/p/duinos
0 stars 0 forks source link

Duinod 0.4 - arduino IDE 1.0 - Arduino 2560 - Serial Library #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi;
I run this code , but on the Serial monitor ,I had nothing

void setup()   
{                

 Serial.begin(9600); 

}

void loop()                     
{
 while (Serial.available()) 

 {

  for(int I_1 = 0; I_1 <= 10; I_1 += 1)                
          {                                                     
 Serial.print("I_1 =  ");Serial.println(I_1) ;                                                   
            delay(1000);  

          }   

 }

}

Original issue reported on code.google.com by ouazar.y...@gmail.com on 22 May 2012 at 11:47