Please help out noob


i have arduino uno using on windows 10 , arduino 1.8.0.
my problem code doesn't work way typed after using serial communication (serial.begin(9600)) arduino doesnt perform code program before serial communication work find.

i've tryed example blink, fade, analogreadserial,
they worked


 
code: [select]


int l=1;
void setup(){
pinmode(13,output);
pinmode(0,output);
serial.begin(9600);

}

void loop(){
for(int x=0;x<10;x++){
digitalwrite(13,high);
delay(100);
digitalwrite(13,low);
delay(100);
digitalwrite(0,high);
delay(100);
digitalwrite(0,low);
delay(100);

}
serial.print("loops:");
serial.println(l)
l=l+1;



}


only pin 13 , serial monitors worked.


sorry, there no way 1 can out description. try explain 1 single problem first.



Arduino Forum > Using Arduino > Project Guidance > Please help out noob


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor