Commit Graph

256 Commits

Author SHA1 Message Date
Tobias Mädel 4bde88cd81 Fixed DS18B20 handling because of new floating point handling
Hi,

because of the new floating point API, the old ds18b20 code returns strange values like "19.8250.8250". 
This change fixes that. 

Best regards,
Tobias
2015-02-01 18:20:45 +01:00
HuangRui 055c55a73c Merge branch 'master' of https://github.com/nodemcu/nodemcu-firmware 2015-01-31 19:39:44 +08:00
HuangRui a8c1a76d5a About #160, applied espressif patch for forever deepsleep issue.
http://bbs.espressif.com/viewtopic.php?f=7&t=162
2015-01-31 19:38:29 +08:00
Vowstar d1450fadc3 Merge pull request #159 from dvv/master
yet another bmp085 module added
2015-01-31 19:35:01 +08:00
Vowstar e77bb7dddd Merge pull request #158 from tuanpmt/master
fixes nodemcu/nodemcu-firmware#155 lwt qos, retain
2015-01-31 19:33:57 +08:00
Vladimir Dronnikov a00044980c yet another bmp085 module added 2015-01-31 13:01:18 +03:00
Vladimir Dronnikov 169699b93a ds18b20: negatives handled 2015-01-31 13:01:18 +03: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 278e3541d3 Merge branch 'master' of https://github.com/nodemcu/nodemcu-firmware 2015-01-31 10:48:54 +08:00
HuangRui 8cc661923b The read function returns an incorrect temperature. Fixed #149. 2015-01-31 10:46:43 +08:00
Vowstar e03807867b Merge pull request #156 from MarsTechHAN/master
BH1750 Module merge
2015-01-30 22:29:51 +08:00
Martin Han 7df610a602 Merge pull request #1 from vowstar/master
Followed Vladimir Dronnikov's advices.
2015-01-30 22:28:08 +08:00
HuangRui f45e6fece3 Followed Vladimir Dronnikov's advices.
https://github.com/nodemcu/nodemcu-firmware/pull/156
2015-01-30 22:21:44 +08:00
Vowstar 9cab751363 Merge pull request #1 from MarsTechHAN/master
Update to MarsTechHAN's nodemcu-firmware
2015-01-30 22:09:11 +08:00
Martin Han ad1ec8fb6d BH1750中文手册 2015-01-30 21:42:23 +08:00
Martin Han de128ea88c UPDATA TO LELIAN 2015-01-30 21:28:31 +08:00
Martin Han 6aca8daf16 Print LUX Data Every 10s 2015-01-30 21:24:54 +08:00
Martin Han fb10825c13 BH1750 User's Manual 2015-01-30 21:21:18 +08:00
Martin Han 555d64af2a BH1750 Module, Written by xiaohu 2015-01-30 21:20:30 +08:00
Martin Han eb55edaba7 Revert "BH1705 Manual"
This reverts commit 3c2288cc47.
2015-01-30 20:52:59 +08:00
Martin Han 3c2288cc47 BH1705 Manual 2015-01-30 20:32:46 +08: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
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