Closed VanDoni closed 3 years ago
There is some easy way out of this by setting the DRD_TIMEOUT
smaller than the time between power up, for example 1-2 secs and try which is better.
#define DRD_TIMEOUT 2
If problem not solved, you have to use its twin library ESP_MultiResetDetector where you can set as many times as you like. Not DoubleReset
but configurable MultiReset
. For example 1 thousand times ?? ;=))
This is more a question than a clear bug report.
Im using Lolin wemos d1 mini pro. I upload the example sketch minimum for esp8266. It works nicely otherwise but when I disconnect power supply and then reconnect it, double reset is detected. Im wondering can this be avoided somehow or why does this happen. I wouldn't want eg my wifi credentials to be erased if there is power outage. Any idea?