In this tutorial, we will learn how to use GPIO pins of the ESP32 devkit with LED blinking examples using Arduino IDE. Whenever any beginner starts learning about any microcontroller-based development board, Experts always recommend beginners to start with an LED blinking example which is also kn...
步驟1. 設置“WAKEUP_SOURCE”,AON定時器:0; AON GPIO: 1; RTC:2,PON GPIO:3,UART/Serial1:4,Gtimer0:5。步驟2. 設置喚醒源。 有 6 個喚醒源,每個都有自己的設置。對於AON 定時器,在“#if (WAKEUP_SOURCE == 0)”部分,設置“CLOCK”和“SLEEP_DURATION”。“CLOCK”可以是 4MHz 或 100kHz。