I'am starting...
I do a small program and it say me:
"error: expected unqualified-id before 'while' "
Please help me? I'm looking at the error, but I don't find it.
so, this is the program:
/*Red Led lighting 5 times,
*then yellow Led light.
*/
int RedLed =5;
int YellowLed =13;
int N =0;
void setup()
{
pinMode (RedLed, OUTPUT);
pinMode (YellowLed, OUTPUT);
}
while(N<6)
{
void loop()
digitalWrite (YellowLed, LOW);
digitalWrite (RedLed, HIGH);
delay ( 3000);
digitalWrite (RedLed, LOW);
delay (1500);
N++;
}
void loop()
digitalWrite (YellowLed, HIGH);
Thanks for answer.