2018-4-10 14:11:18 [显示全部楼层]
7108浏览
查看: 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


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
关于楼主

楼主的其它帖子

上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail