Arduino Buttons

  • the blue light is likely a built in LED that you turn on and off. Depends on your ESP board on which GPIO it is
  • each (external) LED will need its own resistor.
  • buttons don't need an external resistor if you set the pin as INPUT_PULLUP (that will reverse the logic, LOW will mean button is pressed).