I'd like to use the ESP8266 in my next project without any external mcu.
This project needs an output pin to toggle a mosfet/relay and an input pin to detect change on a sensor.
But since these pins are being used to changed the module's mode during boot, I'm having trouble completing my circuit.
With a small capacitor, I managed to use the GPIO2 in output mode to toggle the mosfet
But I can't find how to use the GPIO0 for my sensor without getting the module stuck during boot.
Has anyone faced similar problems ? I'm new to electronics so I might be missing something simple...
Any hint would be appreciated!