# Bar LED ## Project Description This is a simple ESP32 project that turns on an bar graph LED. ## Hardware Components - ESP32 DevKit v1 - Bar graph LED - 220Ω resistor * 10 ## Circuit Description Anode pins 1~10 of bar graph LED are connected to pin2, pin4, pin5, pin12, pin13, pin14, pin18, pin19, pin21, pin22, respectively. The cathode pins 1 through 10 of the bar graph LED are connected to GND pin gnd1 through 220kΩ resistors. ## Expected Behavior When the ESP32 powers up, it should: 1. Set pin2, pin4, pin5, pin12, pin13, pin14, pin18, pin19, pin21, pin22 pin mode as OUTPUT 2. Turn on the bar graph LEDs only up to the threshold, which is 6 ## Success Criteria The test is successful when: 1. Pins 1 to 6 of the bar graph LED anodes receive HIGH signals, while pins 7 to 10 receive LOW signals. ## Notes for Implementation - Use Arduino.h library for arduino core. - The LED should turn on immediately during setup and stay on - No actions are required in the loop function - The pin number used should match the circuit diagram ## Variants This project may have different variants with the bar graph LED connected to different pins or using bar graph LED of different colors. ## Attributes - To use 220Ω resistor, set the property name "value" to "220 ohm".