- Make sure the Arduino is functioning by plugging it in and run "Blink with Delay" program in examples.
- Remove delay. This makes the light blink so fast, we do not see the change from on and off and it is as if it is on the entire time.
- Change blink pattern to on for 2 seconds and off for 1/2 second.
- Connect an LED to pin 13 and create a cool pattern with the LED and pin 12. Our first step was the visualize the pattern we desired. Each light is on or off for 250 miliseconds. It starts with both pins on, then both off, then one on and the other off, then both off and then one one and the other off and then both off.
- Add more LEDS into the other pins and make cool patterns!
- Blinking without delay command using current millis.
- Make a cool pattern without the delay command and with current millis.
Playing with the Arduino and LEDs was so much fun!












No comments:
Post a Comment