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

Moderator: igrr

User avatar
By schufti
#81066 ok, I had this
Code: Select allint LED = 2;
uint64_t TIEMPO_DeepSleep = 0x2625a0;

void setup() {
  Serial.begin(74880);
  pinMode(LED, OUTPUT);
  digitalWrite(LED, LOW);
  Serial.println("wake: " + String(millis()) );
  // TIEMPO_Referencia = millis();
}

void loop() {

  if (millis() > 2500) {
    digitalWrite(LED, HIGH);
    Serial.println("sleep: " + String(millis()));
    ESP.deepSleep(TIEMPO_DeepSleep, WAKE_RF_DISABLED);
    delay(100);
  }
}
compiled with 2.4.2, running on a nodemcu clone with only rst-D0 directly connected, for hours now w/o any hickup.