"Blink", which blinks an LED, is the traditional first program in Arduino.Wiring:
WIRING:
Ground on Arduino to Ground Bus on Breadboard( black)
Insert 3 LEDs- -(short) ends into ground bus, long ends to resistors
Insert three 220 ohm resistors across "valley". The resistors serve to limit the current so as not to burn out the LEDs.
Insert 3 wires between Pins 12,10, and 8 on Arduino to resistors.
Basic Blink sketch:
1) Modify pin numbers to blink LED connected to pin 12.
2) Modify the wait time
3) Modify the program to blink 3 LEDs in sequence.
fix pin #, adjust time, add 2 more LEDs
Last modified: Wednesday, May 25, 2016, 9:04 PM
WIRING:
Ground on Arduino to Ground Bus on Breadboard( black)
Insert 3 LEDs- -(short) ends into ground bus, long ends to resistors
Insert three 220 ohm resistors across "valley". The resistors serve to limit the current so as not to burn out the LEDs.
Insert 3 wires between Pins 12,10, and 8 on Arduino to resistors.
Basic Blink sketch:
1) Modify pin numbers to blink LED connected to pin 12.
2) Modify the wait time
3) Modify the program to blink 3 LEDs in sequence.
fix pin #, adjust time, add 2 more LEDs
Last modified: Wednesday, May 25, 2016, 9:04 PM