Update ExternalWakeUp.ino (#1332)

This commit is contained in:
Giuseppe 2018-05-14 13:09:51 +02:00 committed by Me No Dev
parent 25678f47aa
commit 848cf98ba9

View File

@ -69,7 +69,7 @@ void setup(){
esp_sleep_enable_ext0_wakeup(GPIO_NUM_33,1); //1 = High, 0 = Low
//If you were to use ext1, you would use it like
//esp_deep_sleep_enable_ext1_wakeup(BUTTON_PIN_BITMASK,ESP_EXT1_WAKEUP_ANY_HIGH);
//esp_sleep_enable_ext1_wakeup(BUTTON_PIN_BITMASK,ESP_EXT1_WAKEUP_ANY_HIGH);
//Go to sleep now
Serial.println("Going to sleep now");