SunFounder ESP32 Starter Kit
section.
Way to connect NPN (S8050) transistor
In this circuit, when the button is pressed, IO14 is high.
By programming IO26 to output high, after a 1k current limiting resistor (to protect the transistor), the S8050 (NPN
transistor) is allowed to conduct, thus allowing the LED to light up.
1.22. 5.6 Two Kinds of Transistors 79