Button Controlled LED

Aim

he goal of this activity is to turn on & off the LED using a push button.

Materials Required

  1. Breadboard -1
  2. ESP32-1
  3. LED -1
  4. Push Button-1
  5.  Several Jumper Wires
  6. Micro USB Cable
  7. Breadboard 
  8.  220Ω Resistors -2

Wiring Diagram

Desired Outcome

 Switch ON or OFF the LED using a button.