void setup() {
Serial.begin(115200);
// initialize the pushbutton pin as an input
//pinMode(buttonPin, INPUT);
// initialize the LED pin as an output
pinMode(2, OUTPUT);
pinMode(5, OUTPUT);
pinMode(4, OUTPUT);
}
void loop() {
// read the state of the pushbutton value
//buttonState = digitalRead(buttonPin);
//Serial.println(buttonState);
// check if the pushbutton is pressed.
// if it is, the buttonState is HIGH
//if (buttonState == HIGH) {
// turn LED on
digitalWrite(5, HIGH);
digitalWrite(4, LOW);
digitalWrite(2, LOW);
delay(3000);
digitalWrite(4, HIGH);
digitalWrite(5, LOW);
digitalWrite(2, LOW);
delay(1000);
digitalWrite(2, HIGH);
digitalWrite(5, LOW);
digitalWrite(4, LOW);
delay(3000);
}