ESP8266 : GPIO2 challenges
How to use GPIO2 for input (with a signal that is high by default or low by default while the chip is booting) or output (whether the output is driven high or low to trigger). Booting requires GPIO2 to be high but pulling-up disables it for various uses – especially detecting a high input signal …