Skip to content

Instantly share code, notes, and snippets.

@kakopappa
Created October 2, 2019 03:03
Show Gist options
  • Save kakopappa/7cca9594ce3e7600ac6bab37e054accf to your computer and use it in GitHub Desktop.
Save kakopappa/7cca9594ce3e7600ac6bab37e054accf to your computer and use it in GitHub Desktop.
An external switch circuit:
An external switch circuit:
3.3V
--+--
|
+-+
| | 1K ~ 10K
+-+
|
+--> D2 (for ESP8266, ex: GPIO16 in case of ESP32)
|
| O
--+
| O
|
--+--
GND
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment