Till Klocke
c30002b8df
Fixed typo in method name
2015-02-05 18:43:29 +01:00
Till Klocke
0950e48925
Added support for WS2812 LEDs as a new module
2015-02-05 18:40:46 +01:00
Tuan PM
fb0938db2e
fixes nodemcu/nodemcu-firmware#155 lwt qos, retain, change header support MQTT 3.1.1
2015-01-31 11:49:24 +07:00
HuangRui
5894df1da6
Combined dsleep_set_options(option) to dsleep( us, option )
...
* dsleep( us, option )
Hardware has to support deep-sleep wake up (XPD_DCDC connects to EXT_RSTB with 0R). system_deep_sleep(0) ,set no wake up timer,connect a GPIO to pin RST, the chip will wake up by a falling-edge on pin RST.
** us: Integer
time to sleep.
if us = 0, it will sleep forever.
** option: Integer
option=0, init data byte 108 is valuable;
option>0, init data byte 108 is valueless.
More details as follows:
0, RF_CAL or not after deep-sleep wake up, depends on init data byte 108.
1, RF_CAL after deep-sleep wake up, there will belarge current.
2, no RF_CAL after deep-sleep wake up, there will only be small current.
4, disable RF after deep-sleep wake up, just like modem sleep, there will be the smallest current.
2015-01-29 14:21:38 +08:00
alonewolfx2
f4214294d3
new sleep set options added (from 0.9.5 sdk)
...
usage:
-- no wakeup until rst pin to low
node.dsleep(0)
-- 4 mean no RF after deepsleep.
node.dsleepsetoption(4)
2015-01-28 18:13:19 +02:00
funshine
425e664114
fix #132 , #113 , switch to lib/libssl.a
2015-01-27 20:47:41 +08:00
alonewolfx2
4af0873122
for reading internal vdd33 pin voltage.
...
example usage and result
```
print(node.readvdd33())
3348
>
```
2015-01-26 12:17:15 +02:00
funshine
ad966146fc
migrate to sdk 0.9.5 release version
2015-01-24 23:36:04 +08:00
funshine
f676825872
merge mqtt branch to master and build pre_build bin
2015-01-23 11:48:05 +08:00
funshine
df3c82391f
add spi, and some minor fix
2015-01-18 11:46:15 +08:00
iabdalkader
3c16014641
Add SPI Module
...
* Add SPI support (master mode only)
* Issue #50
2015-01-16 22:41:34 +02:00
funshine
724d3be198
combine getnetmask and getip
2015-01-12 19:23:55 +08:00
unknown
e86e8a650c
WifI wifi.xx.getnetmask & wifi.xx.getbroadcast methods added
2015-01-09 14:18:27 +01:00
funshine
971c4b569b
fix net.socket:send(), fix file.read() when 0xFF reached
2015-01-08 16:03:21 +08:00
funshine
b65fb02cc5
add file.format() to rebuild fs system, get more ram back
2015-01-07 15:57:17 +08:00
HuangRui
c04f2578ec
Updated SDK to v0.9.5 and optimized memory.
2015-01-05 10:09:51 +08:00
funshine
04a5e67443
add node.info() to get version, chipid, flash info
2014-12-31 14:26:51 +08:00
funshine
2553795b1e
add file.read() api, read(n) will read n byte.
2014-12-31 13:53:26 +08:00
HuangRui
a93e62c444
Add node.flashid() and node.flashsize().
2014-12-31 08:08:31 +08:00
funshine
72f60d3e5a
rebuild bin, add setip, setmac, sleeptype api to wifi module, fix #62
2014-12-30 20:17:16 +08:00
zeroday
a2e357f1c1
Merge pull request #64 from alonewolfx2/patch-1
...
for set wifi issue
2014-12-30 20:04:16 +08:00
alonewolfx2
26a554ffe1
for set wifi issue
...
dhcp client must be stop before setting station ip
2014-12-30 13:57:08 +02:00
funshine
4cf5265ccc
deal with uart.on api when required char number is 0
2014-12-30 19:33:54 +08:00
funshine
5209c099a0
modify uart.on api to read raw data from uart
2014-12-30 15:42:24 +08:00
funshine
a331438c9b
add setip setmac api
2014-12-29 21:57:37 +08:00
funshine
ee8daad393
add rtc time
2014-12-29 09:29:19 +08:00
funshine
cdd13b1af3
source file first commit, folder structure refact
2014-12-22 19:35:05 +08:00