// the setup function runs once when you press reset or power the board void setup() { // initialize digital pin 7 as an output. pinMode(7, OUTPUT); } // the loop function runs over and over again forever void loop() { analogWrite(7, 255); // turn the LED on full whack delay(1000); // wait for a second analogWrite(7, 126); // turn the LED on middle brightness delay(1000); // wait for a second analogWrite(7, 68); // turn the LED on low brightness delay(1000); // wait for a second analogWrite(7, 0); // turn the LED off delay(1000); // wait for a second }