查看Noduino OpenPlant的源代码
←
Noduino OpenPlant
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
=== Deep Sleep === http://wiki.jackslab.org/ESP8266_Sleep#Deep_Sleep <source lang=cpp> #define __SET__DEEP_SLEEP__WAKEUP_NO_RF__ system_deep_sleep_set_option(4) #define __SET__DEEP_SLEEP__WAKEUP_NORMAL__ system_deep_sleep_set_option(1) system_deep_sleep(100000); During deep sleep, only RTC still working, so you can save some user data in RTC memory. Only "user data" area can be used by user #define RTC_RAM_BASE 0x60001000 // Size: 1024 bytes #define RTC_MEM_BASE 0x60001100 0x60001000 0x100 rtcb RTC backup memory, see rtc_mem_backup 0x60001100 0x300 rtcmem RTC semi-persistent memory, see system_rtc_mem_write |-------- system data --------|-------- user data --------| | 256 bytes | 512 bytes | | 256/4 = 64 block | 128 block | rtc time use the first 24 bytes of user data area void system_deep_sleep_instant(uint32 time_in_us); </source> '''Notice:''' Seems like the system timer of WiFi is working when chip is in deep sleep, so you need to disable the all timers ... <br>
返回到
Noduino OpenPlant
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面