// Cal-Eng StealthDuino! Leonardo blink example // Lights LEDs in a top-bottom-top sequence void setup() { // initialize LED digital pins as outputs. pinMode(9, OUTPUT); // Middle yellow LED pinMode(11, OUTPUT); // Lower yellow LED pinMode(13, OUTPUT); // Upper red LED } void loop() { digitalWrite(13, HIGH); // set the LED on delay(250); // wait for a second digitalWrite(13, LOW); // set the LED off delay(100); // wait for a second digitalWrite(9, HIGH); // set the LED on delay(250); // wait for a second digitalWrite(9, LOW); // set the LED off delay(100); // wait for a second digitalWrite(11, HIGH); // set the LED on delay(250); // wait for a second digitalWrite(11, LOW); // set the LED off delay(100); // wait for a second digitalWrite(9, HIGH); // set the LED on delay(250); // wait for a second digitalWrite(9, LOW); // set the LED off delay(100); // wait for a second }