7108| 0
|
[求助] FireBeetle ESP32 deep sleep |
hi all, 我购置了一块FireBeetle ESP32 ,当我设置完 Arduino IDE之后烧录原 ESP32 DEV 板的DEEP sleep程序后会报错,我发现在DFRobot_FireBeetle-ESP32-0.0.1.zip并没有ESP32 deep sleep库文件,这是因为调用不成功所导致吗? 急盼知道的朋友给予指点。 C:\Users\AndyWang\Desktop\espressif\esp32\libraries\ESP32\examples\DeepSleep\TimerWakeUp\TimerWakeUp.ino: In function 'void print_wakeup_reason()': TimerWakeUp:32: error: 'esp_sleep_wakeup_cause_t' was not declared in this scope esp_sleep_wakeup_cause_t wakeup_reason; ^ TimerWakeUp:34: error: 'wakeup_reason' was not declared in this scope wakeup_reason = esp_sleep_get_wakeup_cause(); ^ TimerWakeUp:34: error: 'esp_sleep_get_wakeup_cause' was not declared in this scope wakeup_reason = esp_sleep_get_wakeup_cause(); ^ C:\Users\AndyWang\Desktop\espressif\esp32\libraries\ESP32\examples\DeepSleep\TimerWakeUp\TimerWakeUp.ino: In function 'void setup()': TimerWakeUp:62: error: 'esp_sleep_enable_timer_wakeup' was not declared in this scope esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR); ^ exit status 1 'esp_sleep_wakeup_cause_t' was not declared in this scope |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed