Update ExternalWakeUp.ino (#1332)
This commit is contained in:
parent
25678f47aa
commit
848cf98ba9
@ -69,7 +69,7 @@ void setup(){
|
|||||||
esp_sleep_enable_ext0_wakeup(GPIO_NUM_33,1); //1 = High, 0 = Low
|
esp_sleep_enable_ext0_wakeup(GPIO_NUM_33,1); //1 = High, 0 = Low
|
||||||
|
|
||||||
//If you were to use ext1, you would use it like
|
//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
|
//Go to sleep now
|
||||||
Serial.println("Going to sleep now");
|
Serial.println("Going to sleep now");
|
||||||
|
Loading…
Reference in New Issue
Block a user