282 Commits

Author SHA1 Message Date
Vowstar
0fe694b10f Merge pull request #192 from dereulenspiegel/ws2812
Add support for WS2812 based LED strips
2015-02-09 12:39:49 +08:00
Till Klocke
0bbaedac89 Renamed lgpio_ws2812 to match lua method name and fixed formatting 2015-02-07 07:05:41 +01:00
Vowstar
fdc71a8094 Merge pull request #188 from dvv/master
Redis client module started
2015-02-07 12:09:33 +08:00
Vladimir Dronnikov
edc7eaf3ff redis client module added. pubsub so far 2015-02-06 22:22:37 +03:00
Vladimir Dronnikov
165e91e60d switch require() to dofile() to ease memory cleanup 2015-02-06 22:22:09 +03:00
Vowstar
7f970df70b Merge pull request #182 from lukas2511/patch-2
Use python2 instead of python(2/3)
2015-02-06 18:21:50 +08:00
Vowstar
5eb4383409 Merge pull request #181 from lukas2511/patch-1
Only set ESPTOOL if not set before
2015-02-06 18:21:43 +08:00
Lukas Schauer
40874baa2a Use python2 instead of python(2/3)
On modern systems "python" refers to python3, and the script won't work, so I suggest changing it to python2 with this patch.

This patch shouldn't break compatibility with older systems.
2015-02-06 04:44:47 +01:00
Lukas Schauer
6d3d95a271 Only set ESPTOOL if not set before
This allows setting the path to esptool.py as an option on make, allowing the use of alternative tools, or modified esptool.py versions.
2015-02-06 04:41:17 +01:00
Till Klocke
c5d83590bd Updated README.md with instructions for the ws2812 module 2015-02-05 19:04:09 +01:00
Till Klocke
284ee8c46e Added attribution and fixed documentation in comments 2015-02-05 18:47:08 +01:00
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
funshine
1740841e4f fix #175 2015-02-05 01:42:14 +08:00
Vowstar
a1dc023c5e Merge pull request #172 from sej7278/master
Fixes BIT_RATE typo's so 9600 isn't defined 3 times
2015-02-04 01:57:21 +08:00
Simon John
f6161230a6 Fixes BIT_RATE typo's so 9600 isn't defined 3 times 2015-02-03 17:47:33 +00:00
Vowstar
b6d84fdc2f Merge pull request #170 from cle69/cle69-patch-1
Cle69 patch 1
2015-02-04 00:44:49 +08:00
cle69
4c785fc979 Update platform.c
Add  Bit Rate 1200,2400,4800
2015-02-03 10:18:58 +01:00
cle69
d48168b920 Update uart.h
Add  Baudrate 1200, 2400,4800
2015-02-03 09:26:21 +01:00
Vowstar
513c46b453 Merge pull request #165 from Manawyrm/patch-1
Fixed DS18B20 handling because of new floating point handling
2015-02-03 12:54:16 +08:00
Vowstar
a30ff88dc3 Merge pull request #167 from javieryanez/patch-4
Add support for NodeMCU with float point in the example
2015-02-03 12:52:33 +08:00
Vowstar
ce96564bb0 Merge pull request #166 from javieryanez/patch-3
Support for versions of NodeMCU with float point
2015-02-03 12:52:26 +08:00
Vowstar
cd49b76763 Merge pull request #168 from tuanpmt/master
Add support multiple subscriptions, resolve nodemcu/nodemcu-firmware#152
2015-02-03 12:51:36 +08:00
Tuan PM
c5e9d800a1 Add support multiple subscriptions, resolve nodemcu/nodemcu-firmware#152 2015-02-02 16:58:54 +07:00
Javier Yáñez
d155cfc57e Add support for NodeMCU with float point in the example 2015-02-02 10:01:24 +01:00
Javier Yáñez
a3e518724c Support for versions of NodeMCU with float point
Read error is indicated with humidity = nil
2015-02-02 09:59:20 +01:00
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 3c2288cc47dc8234b2428261c74d9e2c8e585352.
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