int count=0;
int GLed=10;
int BLed=7;
int RLed=3;
void setup() {
Serial.begin(9600);
pinMode(GLed,OUTPUT);
pinMode(BLed,OUTPUT);
pinMode(RLed,OUTPUT);
// put your setup code here, to run once:
}
void loop() {
count++;
delay(100);
Serial.println(count);
if(count=0);
digitalWrite(GLed,HIGH);
else if (count==5);
digitalWrite(BLed,HIGH);
else if (count==8);
digitalWrite(RLed,HIGH);
// put your main code here, to run repeatedly:
}