Two Way Switch

Aim

 The goal of this activity is to turn on or off the LED. On by one of the two buttons and be switched off by the other button.

Materials Required

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

Wiring Diagram

Desired Outcome

 LED can be switched ON or OFF by using either of the buttons.