Questions with regards to ESP8266 Basic and hardware interfacing and control via Basic commands

Moderator: Mmiscool

User avatar
By Oldbod
#54778 That would be great. I've had a little dig and the reset reason is available. If we could choose to wait only on power on that would be a big help. I know it doesn't address the 'using an external device to shut off the power' scenario but selfishly for me it would really help.
User avatar
By livetv
#55481 Would it be worthwhile to poll a GPIO pin and either wait the 30 seconds or not wait based on its state? Let's say it's GPIO16. Just put a pull-down resistor on it then allow a button to pull it high. It's only tested in the first few seconds after power up so the pin is available for general use after that. If I want to interrupt a boot process and prevent an autostart of /default.bas, it's almost certain that I'm still in development and within reach of this button!
User avatar
By Mmiscool
#55486 Right now as is. Auto start of a program can be disabled by pulling gpio 0 low while it is trying to do its initial wifi connection.

I suppose that a setting could be added to change the boot safe mode time.