Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By sej7278
#38889 thanks for the explanation, so i'll stick with the deepSleep without the RF_DISABLED, that seems a largely pointless function if it only controls the wifi on wake, some uses though i guess.

now i've just got to figure out why the first display sometimes goes on when the mcu goes to sleep, possibly the clk pin latches on or something i guess, its very intermittent.

edit: figured out the problem with the first display being stuck on - i had to latch the CS pin on the MAX7219 low before sleeping, as i found the esp8266 pins are set to output high when it sleeps. fix:

Code: Select all    digitalWrite(D3, LOW);
    delay(2000);
    ESP.deepSleep(0);