Hi,
I am using ESP-IDF to building my project, and i using esp_deep_sleep_enable_ext1_wakeup() to do deep sleep on two pin like this :
esp_deep_sleep_enable_ext1_wakeup(GPIO_NUM_34 | GPIO_NUM_35, ESP_EXT1_WAKEUP_ANY_HIGH)
when i wake up, can i get which one is pressed ?
Search found 2 matches
- Wed Jun 06, 2018 10:24 am
- Forum: General Discussion
- Topic: When i wake up how do i get wakeup pin
- Replies: 0
- Views: 2276
CPU省電模式?
請問我要如何讓CPU進入省電模式? 預設運行在160Mhz,在Wifi與BT都沒有開啟的情況下,我運行一個無限迴圈,如何才可以運行在最低功耗下?在沒有WIFI init 與 BT init 時,有需要對CPU做設定才能進入更低的功耗嗎?