Separate build-in LED and GPIO2 on ESP-01s
Posted: Mon Jan 04, 2021 2:41 am
I'd like to connect a red LED to GPIO2 and use as status LED for a sensor connected to GPIO0 and use the build-in blue LED for showing successful connection to WIFI. However, if I change the state (HIGH/LOW) of GPIO2, the build-in LED responds as well. It seems that they are somehow coupled.
Is there a way to decouple the build-in LED and GPIO2 so that I can use them for 2 different things?
Is there a way to decouple the build-in LED and GPIO2 so that I can use them for 2 different things?