This is our first project with Arduino. We made a LED blink to the command of a switch.
These are series of images of the Arduino in action ( the video took too long to upload). We programmed the board to read the state of the switch and blink the LED on pin 13 if the reading is HIGH and turn the LED off If the Reading is LOW. We also programmed the board to read the state of the switch and blink 3 LEDs in to a pattern if the state of the switch is HIGH and turn the LEDs off if the state of the switch is LOW. The sketch and the schematic (the circuit diagram) for this will be available in the file cabinet.
Reading the switch to blink the LED.
When the state of the Switch is LOW don't blink the LED on pin 13. |
When the state of the Switch is HIGH blink the LED on pin 13. |
Blinking LED on pin 13. |
Random Blinking when the state of the switch is HIGH.
When the state of the switch is LOW don"t blink the LEDs. |
When the state of the switch is HIGH blink the LEDs in to a pattern. |
Janitha and Randipa Gunathilake.
11127@csc.school.nz
13107@csc.school.nz