Software reset on a NodeMCU
Posted: Fri Jul 29, 2016 1:36 am
I am trying to reset my NodeMCU via a web page. Both
The NodeMCU already has it's GPIO15 and GPIO0 pulled down and up respectively, therefore, that shouldn't be a problem.
Code: Select all
and ESP.reset()
Code: Select all
are not working properly. Here it becomes strange. The first time I try to reset it after a new flash does not work. After that, any consecutive try restarts the NodeMCU without a problem. This is quite troublesome because I have already incorporated an OTA onto the chip and if I put it somewhere unreachable my I wouldn't have a way to restart it properly.system_restart()
The NodeMCU already has it's GPIO15 and GPIO0 pulled down and up respectively, therefore, that shouldn't be a problem.