Johny Mattsson
67e72c45df
Imported RTC FIFO component + added Lua interface.
...
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).
2015-07-10 15:12:31 +10:00
Johny Mattsson
2187424928
Imported RTC+sleep timekeeping from an internal DiUS project.
...
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.
2015-07-10 15:12:31 +10:00
Johny Mattsson
1a613effeb
Imported RTC access from a DiUS internal project.
...
Added Lua access module named "rtcmem" for read/write of RTC user module.
2015-07-10 15:10:15 +10:00
Vowstar
f5938dfe17
Will made some modules default off.
...
Need discussion. And turn off some modules by default.
May our community should build more version?
2015-07-04 02:51:41 +08:00
Konrad Beckmann
485e5a3140
Disabled WS2801 module
2015-07-03 12:35:47 +02:00
Konrad Beckmann
3d3c2431b3
Added WS2801 support
2015-07-02 00:50:26 +02:00
vowstar
dce0d2c2a8
Release build 20150627.
...
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.
2015-06-27 15:21:48 +08:00
Johny Mattsson
7bd10e8a17
Added node.bootreason() to inspect boot cause.
2015-06-27 12:34:03 +10:00
vowstar
dda121e5e0
Release 0.9.6-dev_20150625
2015-06-26 18:32:46 +08:00
Johny Mattsson
0c924e56c6
Support for loading sub-32 wide data from irom.
2015-06-23 15:41:14 +10:00
vowstar
af56aea1e8
Update dhtlib api, support both integer and float version.
2015-06-18 17:19:55 +08:00
vowstar
899935e60b
Add DHT Lua Module for interfacing with the DHTxx sensors (xx = 11-21-22-33-44).
2015-06-18 16:31:40 +08:00
Orgmar
b0a4e4d3e9
Changed BUILD_DATE.
2015-06-17 00:16:57 +08:00
Mike Wen
d955c8815b
add 433MHz transmission
2015-06-11 18:07:16 -04:00
Vowstar
8044014f96
Merge pull request #471 from nodemcu/dev
...
Merge dev into dev096
2015-06-08 14:04:28 +08:00
Johny Mattsson
223a936779
Switched crypto module to use ROM SHA1/MD5.
...
Also disabled MD2 support by default (see MD2_ENABLE in user_config.h).
2015-06-05 12:12:24 +10:00
Johny Mattsson
06724fbb17
Renamed SHA2 support option to SHA2_ENABLE per request.
2015-06-03 11:20:16 +10:00
=
2128c42f02
Add headers for discovered rom functions
2015-05-28 15:10:12 -05:00
=
ca78b9ea2c
Add crypto module initially containing sha1 and base64_encode.
2015-05-28 07:46:57 -05:00
HuangRui
c82cc3f7c5
Testing use all modules.
2015-05-21 10:42:28 +08:00
HuangRui
a1e67c5cf0
Try to use latest spiffs but not success.
2015-05-21 10:39:02 +08:00
HuangRui
71469dd70f
Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
...
Conflicts:
app/include/user_version.h
app/modules/node.c
app/modules/wifi.c
2015-05-15 08:13:46 +08:00
funshine
bcbde08bf7
fix mqtt keepalive ping, add a example for mqtt in lua_examples.
2015-04-05 02:22:51 +08:00
funshine
1c2ee75a00
fix mqtt, do a format when wrong flash size is detected
2015-04-03 00:51:02 +08:00
funshine
dcb6e53af7
add auto-reconnect option to mqtt:connect api
2015-03-31 00:36:44 +08:00
funshine
09750b5653
add queue to mqtt module
2015-03-30 00:24:09 +08:00
funshine
d5731dd9bd
merge from dev
2015-03-20 20:15:38 +08:00
funshine
a70709268b
merge cjson and dev to master, make a stable release
2015-03-18 14:22:17 +08:00
zeroday
a01bda03dd
Merge pull request #294 from nodemcu/json
...
Json branch merged to master
2015-03-18 13:11:11 +08:00
devsaurus
09b650be41
disable untested pcd8544 driver for the moment
2015-03-17 20:52:47 +01:00
funshine
808a359eb8
quick fix when wide charactor issue
2015-03-17 22:42:22 +08:00
funshine
45e7f270cc
Merge branch 'dev' into json
2015-03-17 00:13:15 +08:00
funshine
9c0c960e84
json port from cjson. not work yet
2015-03-16 09:00:33 +08:00
devsaurus
3124bcf357
Merge remote-tracking branch 'upstream/dev' into dev
2015-03-15 22:06:30 +01:00
HuangRui
0b01f28c62
Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
...
Conflicts:
app/include/user_modules.h
app/include/user_version.h
2015-03-16 01:13:03 +08:00
HuangRui
4e7473bc00
Fixed flash automatic detection bug. Support 128MBit flash.
2015-03-16 01:05:06 +08:00
funshine
0b95ae08a2
default build with coap, reduce coap module mem usage
2015-03-15 20:12:29 +08:00
funshine
c46000069d
reduce coap module memory usage
2015-03-15 13:44:50 +08:00
devsaurus
429bf57d67
add pcd8544
2015-03-12 23:09:41 +01:00
devsaurus
b387ba93ec
introduce u8g_config.h
2015-03-12 21:50:57 +01:00
funshine
d28a2c9eda
add interger version release, fix #234 , #252 , #246
2015-03-11 13:21:19 +08:00
funshine
81ea8d9597
add math, add file.fsinfo(), update spiffs.
2015-03-10 01:12:36 +08:00
funshine
8369f74bd0
comment out math.fmod to reduce code size
2015-03-06 17:00:37 +08:00
funshine
9d0c733073
Merge branch 'dev' into dev096
2015-03-06 16:46:37 +08:00
funshine
45f6abd448
merge coap
2015-03-06 16:24:55 +08:00
funshine
13b08cdacf
add macro to control built-in lib for lua, add libm.a
2015-03-06 15:55:24 +08:00
HuangRui
6ea3d6390c
Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
...
Conflicts:
app/include/user_config.h
ld/eagle.app.v6.ld
2015-03-06 14:02:58 +08:00
funshine
bbef457e50
seperate user_config.h to speed-up compile when modules disabled/enabled
2015-03-06 11:59:04 +08:00
Markus Gritsch
484dbf2683
Changed the ws2812 byte order from GRB to RGB
...
There seems to be interest in using the more intuitive RGB byte order to
specify the LED color. Also fixed the documentation.
2015-03-03 14:51:49 +01:00
Markus Gritsch
8432e8c8be
Changed the ws2812 byte order from GRB to RGB
...
There seems to be interest in using the more intuitive RGB byte order to
specify the LED color. Also fixed the documentation.
2015-03-03 10:20:02 +01:00