ESP8266 GPIO holds the last state
Posted: Wed Mar 25, 2015 12:52 pm
Does anyone know if ESP8266 GPIO holds the last state. I am using one of the GPIO ( GPIO5 of esp-12) as an input from the switch. When switch is closed it sends 5 volt signal to GPIO which change the state to High. But when switch is open, it still keep the state high. I am using LUA firmware. Do I need to use pullup/down resistor to change the state?