Aesthetic view of my breadboard. My project features a total of 12 individually addressable LEDs, two buttons and 12 resistors to protect the LEDs from over-current. My project runs two simple 'for' loops that increment between pins 2 and 13, the loops will turn on one LED, turn it off again and then repeat with the next LED addressed by the next pin, this gives an illusion of the light bouncing up and down on the breadboard. The buttons come into play by adjusting the delay between turning an LED on or off by 20 millisecond increments. The red button (pin A1) will add 20ms to the delay, slowing down the light cycle and the green button (pin A0) will remove 20ms from the delay, with a minimum of 20ms as not to stop the cycle altogether. Top down view of my project. Fritzing Breadboard View Fritzing Schematic View Demonstration video Code used in project https://henry.otago.online/files/LEDProject1/LEDProject1.ino Reflection! Q: Whe
Comments
Post a Comment