Commit Graph

1585 Commits

Author SHA1 Message Date
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
Vowstar 00e2adccdb Merge pull request #143 from alonewolfx2/master
new sleep set options added (from 0.9.5 sdk)
2015-01-29 13:20:51 +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
zeroday db5614a081 Merge pull request #142 from dvv/master
IR send module added by @dvv
2015-01-28 18:55:43 +08:00
Vladimir Dronnikov f09ffdb13b IR send module added 2015-01-28 10:48:34 +03:00
funshine 1346cbbc38 fix string.format, maybe partialy 2015-01-27 21:48:44 +08:00
funshine 6a0599d22c fix alignment 2015-01-27 21:02:54 +08:00
funshine 425e664114 fix #132, #113, switch to lib/libssl.a 2015-01-27 20:47:41 +08:00
Vowstar 5ec77af844 Change update log latter to lower. 2015-01-27 13:56:34 +08:00
Vowstar 0c5d8b4c6d Add intro how to control floating point feature. 2015-01-27 13:55:13 +08:00
HuangRui c16d62e926 Fix UPGRADE_DBG when in DEVELOP_VERSION. 2015-01-27 13:48:10 +08:00
funshine b6185c88b5 add udp example to readme 2015-01-26 23:50:40 +08:00
Vowstar afa741c192 Update changelog 2015-01-27.
Added Support floating point LUA.
2015-01-26 23:46:01 +08:00
Vowstar 6b7d113963 Delete mistake changelog. 2015-01-26 23:42:08 +08:00
Vowstar 2c4e40d86e Update changelog 2015-01-26. 2015-01-26 23:41:24 +08:00
Vowstar 5ca3765b1d Merge pull request #136 from nodemcu/devfloat
Support floating point LUA.
2015-01-26 23:29:10 +08:00
HuangRui c39deb2a43 Turn floating point option ON.
Add pre_build/0.9.5/nodemcu_20150127.bin.
2015-01-26 22:25:43 +08:00
HuangRui 3c09c3f7b8 Merge branch 'master' of https://github.com/nodemcu/nodemcu-firmware into devfloat 2015-01-26 21:51:21 +08:00
HuangRui 9fad194675 Update pre-build firmware to 20150126. 2015-01-26 20:25:55 +08:00
HuangRui 6560dae2e4 Changed BUILD_DATE 20150126. 2015-01-26 20:05:36 +08:00
HuangRui cf4cd8f450 Merge branch 'master' of https://github.com/nodemcu/nodemcu-firmware into devfloat 2015-01-26 20:00:30 +08:00
HuangRui f3303d00d4 Format ds18b20.lua. 2015-01-26 20:00:13 +08:00
HuangRui 646eaec29c Fixed LUA_NUMBER_INTEGRAL definition in user_config.h. 2015-01-26 19:57:54 +08:00
Vowstar d5047d66fb Merge pull request #138 from dvv/master
some example modules added
2015-01-26 19:53:04 +08:00
Vladimir Dronnikov 96ab811a55 yet another dht11/22 module added 2015-01-26 14:42:20 +03:00
Vladimir Dronnikov c89686e1f7 yet another ds18b20 module added 2015-01-26 14:42:07 +03:00
Vladimir Dronnikov 5d62624e08 cleanup http module 2015-01-26 14:36:39 +03:00
Vowstar 4fbff3f3ac Merge pull request #137 from alonewolfx2/patch-2
for reading internal vdd33 pin voltage.
2015-01-26 18:59:29 +08:00
HuangRui 4b1b911c98 Update pre-build binary for 20150126 patch of SDK. 2015-01-26 18:42:32 +08:00
HuangRui bee2ed7231 Patch 20150126 for esp_iot_sdk_v0.9.5_15_01_23. 2015-01-26 18:18:39 +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
HuangRui d4dcf55764 Formatted ds18b20.lua. 2015-01-26 18:16:55 +08:00
Vowstar c9bce72cec Merge pull request #135 from tuanpmt/master
can set makefile COMPORT name via argument make COMPORT='COM1' flash
2015-01-26 17:51:41 +08:00
HuangRui e11721ebfd Support floating point.
Add PRINTF_LONG_SUPPORT to %g option.
2015-01-26 17:21:43 +08:00
HuangRui 2e513a967e Add floating point support for output.
Changed %.14g to %g.
Add c_sprintf definition.
2015-01-26 17:17:04 +08:00
Tuan PM 42eebf8e2d can set makefile COMPORT name via argument make COMPORT='COM1' flash 2015-01-26 13:25:58 +07:00
HuangRui 04ed036cc1 Merge branch 'master' of https://github.com/nodemcu/nodemcu-firmware into devfloat 2015-01-26 04:22:15 +08:00
Vowstar 09335d8252 Merge pull request #131 from javieryanez/patch-2
Error checking added in the example. Functions description added
2015-01-26 04:20:04 +08:00
Vowstar 08717918dc Merge pull request #130 from javieryanez/patch-1
Turn some variables to local
2015-01-26 04:19:33 +08:00
HuangRui 530e964d95 Try to ENABLE floating point, lack %g support. 2015-01-26 04:15:54 +08:00
Javier Yáñez 5a50f4e4ee Error checking added in the example. Functions description added 2015-01-25 20:20:48 +01:00
Javier Yáñez 71dd55ba45 Turn some variables to local
ake some adjustments because of the optimization using local variables
2015-01-25 20:13:07 +01:00
funshine 3ede2de2ea update readme for api doc 2015-01-25 12:10:40 +08:00
funshine ad966146fc migrate to sdk 0.9.5 release version 2015-01-24 23:36:04 +08:00
funshine 360fb59e63 add tcp2uart.lua example 2015-01-23 17:12:54 +08:00
funshine 9b472a465b move nodemcu init stage after user_init(), rebuild bin 2015-01-23 13:25:54 +08:00
funshine f676825872 merge mqtt branch to master and build pre_build bin 2015-01-23 11:48:05 +08:00
HuangRui 0ea9cb9c01 VIP6(xingyuewang,http://517513.cn) commit si7021 module. 2015-01-22 23:30:59 +08:00
HuangRui f09f6443d1 Move ds18b20.CN.md to ds18b20.ZH.md 2015-01-21 18:45:08 +08:00
HuangRui 2fbd5ed509 Move bmp085.lua to bmp085 folder.
Add bmp085.EN.md.
2015-01-21 18:43:57 +08:00