Search found 1 match

by danwat
Sat Jun 15, 2019 5:57 am
Forum: General Discussion
Topic: How to receive MQTT messages after deep sleep?
Replies: 3
Views: 17575

Re: How to receive MQTT messages after deep sleep?

Hi Max, The thing to remember is, when using the arduino framework and deep sleeping, your sketch only runs the setup() section and never runs the loop() part. So, one (pseudocode) option would look something like this bool readyToSleep=false; void setup() { // I'm awake from sleep esp_sleep_enable_...