The rtcfifo module uses RTC memory to store sensor samples across deep-sleeps,
making it possible to batch up samples for less frequent uploads. This
component uses 9 RTC memory slots for control, and a variable number of
slots for sample storage (see rtcfifo.prepare() on how to control the
size/location of the latter).
When used together with the rtctime module, it also exposes the convenience
function rtcfifo.dsleep_until_sample() which can be used to easily take
readings on a regular basis without having to manually take into account
time spent awake to get an accurate sleep time.
The format used for storing samples is quite dense, and allows for 16 bits
of data in a fixed point format (per sample).
Added Lua module rtctime to interface with it.
This keeps as accurate time as is possible on the ESP8266, including across
deep sleeps (provided rtctime.dsleep() is used rather than node.dsleep()).
Intended to be used together with NTP for high accuracy time keeping. The
API is via rtctime.{get,set}timeofday(), working from Unix epoch.
Note that 160MHz CPU clock is not currently supported by the rtctime code,
as it is only aware of the 52MHz boot clock and the regular 80Mhz default
clock.
See rtctime.h for detailed info on how this all works.
If NodeMCU can't connect Wi-Fi, please use it.
After reboot, all will be OK.
RESTORE ITEMS:
wifi_station_set_auto_connect, wifi_set_phy_mode, wifi_softap_set_config, wifi_station_set_config, wifi_set_opmode.
fixed ap/station-ap cannot connect to the device.
added wifi.ap.getconfig().
fixed net.dns.getdnsserver().
added new base64 lua example.
added node.bootreason() to inspect boot cause.
optimization of u8g.
Make change log latest.
2015-06-23 Move constants to ROM. Frees up 16k+ of RAM
2015-06-17 Add dhtlib for DHT11/21/22/33/44, port from Arduino
2015-06-12 Add 433MHz transmission
2015-06-02 Crypto library with unified interface
2015-05-27 Re-add ws2812.write()
2015-05-26 Add crypto module initially containing sha1 and base64_encode
2015-05-23 Added wifi.getchannel
2015-05-18 Changed wifi_setip() to allow setting SoftAP gateway to 0.0.0.0
2015-05-17 Added net.dns.setdnsserver and net.dns.getdnsserver, add support for lm92 temperature sensor
2015-05-16 Implement getStrWidth() and setFontLineSpacingFactor()
2015-05-14 Add -Os flag to release and debug builds
2015-05-12 Changed output format of table that is output by wifi_scan_done
2015-05-11 Added ability to set scan configuration to wifi.sta.getap
2015-05-09 Added function wifi.sta.getconfig()
2015-05-07 Allow connecting to unsecured WiFi networks
2015-04-27 Add setphymode and getphymode to wifi module
2015-04-15 Add multicastJoin and multicastLeave to net module
2015-04-14 Add Yeelink Modules
Accessing 8bit and 16bit constants from ROM rather than RAM comes with a
performance cost, as these loads go through the load/store exception
vector. Any performance critical constants can be forced back into RAM
as RAM_CONST_ATTR.
The entry point has changed from call_user_start() to user_start_trampoline()
in order for the exception handler to be installed early enough.