/* Blink all LEDS faster Turns on all the LEDs for 1/10th of a second, then off all the LEDs for 1/10th of a second, repeatedly. This example code is in the public domain. */ // Define a fariable for each of the 6 LEDs // we are counting from 0 to 5 which give us the 6 LEDs int led0 = 11; int led1 = 10; int led2 = 9; int led3 = 6; int led4 = 5; int led5 = 3; // the setup routine runs once when you press reset: void setup() { // initialize the digital pins as an outputs. pinMode(led0, OUTPUT); pinMode(led1, OUTPUT); pinMode(led2, OUTPUT); pinMode(led3, OUTPUT); pinMode(led4, OUTPUT); pinMode(led5, OUTPUT); } // the loop routine runs over and over again forever: void loop() { digitalWrite(led0, HIGH); // turn the LED on (HIGH is the voltage level) digitalWrite(led1, HIGH); digitalWrite(led2, HIGH); digitalWrite(led3, HIGH); digitalWrite(led4, HIGH); digitalWrite(led5, HIGH); delay(100); // wait for 1/10 of a second digitalWrite(led0, LOW); // turn the LED off by making the voltage LOW digitalWrite(led1, LOW); digitalWrite(led2, LOW); digitalWrite(led3, LOW); digitalWrite(led4, LOW); digitalWrite(led5, LOW); delay(100); // stay off for for a 1/10 of second }