Notifications

Day 9: The Festival Of Lights

Objective:


  1. Understand the basics of using buttons and LEDs.
  2. Learn how to connect components to the HERO and breadboard.
  3. Write and upload code to control the circuit using the Arduino IDE.
  4. Create different lighting modes with variable brightness


Components Needed:


  • HERO board
  • Breadboard
  • 3 LEDs (different colors)
  • 1 Button
  • 3x 220 ohm resistor
  • 10k ohm resistor
  • Jumper wires (Male to Male)


Wiring Diagram:



Code: