Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By ketan
#46664
schufti wrote:
Code: Select allgpio.mode(6, gpio.OUTPUT)
gpio.mode(9, gpio.INPUT)
gpio.write(9, gpio.LOW)


why do you output LOW to your input?
Depending on the implementation deep down the fw that might "upset" something.
At least change the last two statements. If you only have a resistor to V+and the pin is left floating otherwise that might give you a headache, too. I would switch pin to pull_up mode and pull it down from external circuitry (pushbutton to gnd or via diode from ttl-output etc).


Thank You, the solution worked.

Thank you all for the help.