const int ledRed = 14;
const int ledOrange = 27;
const int ledGreen = 26;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin ledPin as an output.
pinMode(ledRed, OUTPUT);
pinMode(ledOrange, OUTPUT);
pinMode(ledGreen, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(ledRed, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(ledRed, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
digitalWrite(ledOrange, HIGH); // turn the LED on (HIGH is the voltage level)
delay(2000); // wait for a second
digitalWrite(ledOrange, LOW); // turn the LED off by making the voltage LOW
delay(2000); // wait for a second
digitalWrite(ledGreen, HIGH); // turn the LED on (HIGH is the voltage level)
delay(3000); // wait for a second
digitalWrite(ledGreen, LOW); // turn the LED off by making the voltage LOW
delay(3000); // wait for a second
}