Re: Adafruit Huzzah Deep Sleep not waking up
Posted: Sat Feb 23, 2019 8:16 am
I have copied these two functions from your code.
In the toSleep function, you are adding the command ESP.deepSleep but in wakeUp you are just displaying text to your Serial Terminal but not actually waking it up. I think that's why ESP8266 is not waking up.
Code: Select all
void toSleep() {
Serial.println("Going into deep sleep");
ESP.deepSleep((60e6), WAKE_RF_DEFAULT);
delay(500);
}
void wakeUp() {
delay(500);
Serial.println();
Serial.println("Waking up from deep sleep");
}
In the toSleep function, you are adding the command ESP.deepSleep but in wakeUp you are just displaying text to your Serial Terminal but not actually waking it up. I think that's why ESP8266 is not waking up.