Jonathan Karras
725feade27
Update DS18b20 examples ( #1851 )
...
- Remove old non-async examples from `lua-examples`.
- Rename `ds18b20.EN.md` to `README.md`
- Change remaining `toBase64` calls to the more standard `toHex` call.
- Fix some spelling and markdown formatting issues in README file.
Addresses issue #1841
2017-03-10 22:10:49 +01:00
Jonathan Karras
4acabab1cc
Change address printing to Hex from Base64. ( #1840 )
2017-03-07 07:06:50 +01:00
vsky
5feae3fee1
Re-write DS18B20 asynchronous example ( #1820 )
2017-02-25 22:56:45 +01:00
TerryE
6fcd554e9c
Delered as per #475 and creation of the encoder module
2016-03-02 00:33:51 +00:00
devsaurus
ee96273191
Remove lua modules with equivalent ones in app/modules.
2016-02-14 23:03:33 +01:00
Vittorio Giovanelli
ecd79d7914
Fixed some grammar on docs
2016-02-10 09:32:37 +01:00
Vittorio Giovanelli
ca104a96ce
Added full support for DS3231
2016-02-07 21:19:33 +01:00
Marcel Stör
4f330e4500
Merge pull request #946 from SebastianSchildt/fixds18b20
...
Fix unit constants to be consistent with code
2016-01-17 21:50:00 +01:00
Sebastian Schildt
0863a4c221
Fix unit constants to be consistent with code
...
Extend example to show querying different units or specific sensors
2016-01-17 14:39:39 +01:00
elgarbe
4c037bfeac
Add support for Temperature Comparison register set/get functions
2016-01-06 15:05:32 -03:00
Nick Andrew
0a7b730e23
Support DS18S20 and fix negative temp handling
...
The DS18S20 has only 1 fractional bit whereas DS18B20 has 4, and their
temperature register alignment differs. Check the family code to choose
the correct multiplier for both devices.
Closes #610
Negative temperatures (less than 0°C) are returned as a sign-extended
two's complement number. Subtract 0x10000 to recover the proper
negative value.
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-16 23:32:20 +11:00
Marius Schmeding
f343af9683
adding lua_module for Grove Digital Light Sensor ( http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor )
2015-07-21 18:56:29 +02:00
Luna
b4f0c2d1ee
another one
2015-06-25 01:35:50 +02:00
Luna
ba39d0961a
tottaly found a bug
2015-06-24 23:01:58 +02:00
Luna
6f7542c1a9
working lua impl. of base64
2015-06-24 22:50:20 +02:00
HuangRui
3cd5a6a1ed
Merge branch 'master' of https://github.com/bruceme/nodemcu-firmware into dev
...
Conflicts:
app/modules/net.c
2015-06-04 15:04:12 +08:00
Levente Tamas
de053cf479
Add support for lm92 temperature sensor
...
Added LUA module for the lm92 +-0.33C 12bit+sign temperature sensor.
2015-05-17 12:03:42 +03:00
Martin Han
effb57247c
Add Example to yeelink lib
2015-04-22 13:16:37 +08:00
Martin Han
a60f28cf9c
Ver 0.1.2 r1 Add init ok callback function
2015-04-22 13:10:06 +08:00
Martin Han
5bda87845f
Update to Ver0.1.2, fix logic bug
...
Detail:
When require lib before connect to ap, program will return nil but the table.
2015-04-22 12:50:02 +08:00
Martin Han
0f203f32c3
Resuce RAM Usage
2015-04-20 19:43:24 +08:00
Martin Han
a3b72906d5
Yeelink Modules
2015-04-14 20:42:16 +08:00
Sander Boele
4437c46825
fixed floating point problem in bcd conversions
2015-04-11 11:26:44 +02:00
Martin Han
9df94c7ee6
Really Fix the BUGs, add come comment
...
Sorry for the mistake, I forgot to save the file when gitting...
2015-04-06 14:38:35 +08:00
funshine
560ad8e029
remove dht22 lib, use dht_lib instead
2015-04-06 00:11:12 +08:00
funshine
fee2cf476a
Merge branch 'master' into dev
2015-04-06 00:06:08 +08:00
Martin Han
c21dea9d8e
Fix DHT11 10times BUG, add auto-select feature
2015-04-05 23:23:18 +08:00
Martin Han
b1287756bc
Adjust the detail, fix program bug
2015-04-05 23:22:25 +08:00
Vowstar
263179ea14
Merge pull request #329 from MarsTechHAN/patch-2
...
Add support to DHT11 and add some comments.
2015-04-04 08:12:29 +08:00
Martin Han
1bc81f4c3e
Add support to DHT11 and add some comments.
2015-04-03 23:44:26 +08:00
Martin Han
4ca371f473
Add support to DHT11 and add some comments.
...
Change function names.
read->-read11() support DHT11
->read22() support DHT21 DHT22
2015-04-03 23:34:12 +08:00
AllAboutEE
eef53a532f
Merge remote-tracking branch 'upstream/dev' into dev
2015-03-16 04:22:07 -05:00
AllAboutEE
6c092e42ed
Fixed bug where email text after CR and LF would not be read. Added example links, Fixed bug where send function could not be called more than once due to count variable.
2015-03-16 04:17:19 -05:00
funshine
9818c5063b
Merge branch 'master' into dev
2015-03-15 20:51:38 +08:00
zeroday
6c8cace9c0
Merge pull request #222 from sza2/master
...
Fix for negative values, Thanks @sza2
2015-03-15 20:46:50 +08:00
AllAboutEE
998f96a4d6
Added base64 module needed to encode username and password. Added SMTP send email example.
2015-03-13 14:39:14 -05:00
AllAboutEE
72f767445f
Working example of IMAP read email module.
2015-03-12 11:27:01 -05:00
AllAboutEE
56aa416535
Added imap lua module and updated read_email_imap.lua example to use module. There is a bug where Examine is not sent sometimes.
2015-03-12 01:16:02 -05:00
zeroday
b489838017
Merge pull request #271 from ftruzzi/master
...
DRDYn pin support added.
2015-03-08 10:12:15 +08:00
Francesco Truzzi
c96c8d570a
Update README.md
2015-03-07 15:04:42 +01:00
ftruzzi
1c54cca234
Added DRDYn pin support.
2015-03-07 15:01:20 +01:00
Francesco Truzzi
8c2880d718
Delete README.md
2015-03-07 14:57:08 +01:00
Vowstar
acf0df3aad
Merge pull request #269 from ftruzzi/master
...
New module: HDC1000 temperature and humidity sensor.
2015-03-07 11:03:37 +08:00
Francesco Truzzi
be93fe5e14
Update README.md
2015-03-07 03:14:52 +01:00
ftruzzi
9f7a2554f5
First release of HDC1000 module.
...
A module for the HDC1000 temperature and humidity sensor.
2015-03-07 03:11:17 +01:00
funshine
0f6046d8a2
Merge branch 'master' into dev
2015-03-03 14:46:08 +08:00
AllAboutEE
34d0b773d9
Added I/O expander MCP23008 module and two examples: digital output with LEDS, and digital input with buttons.
2015-03-02 13:21:26 -06:00
Tamas Szabo
67ab2d018e
Update ds18b20.lua
2015-02-21 17:05:16 +01:00
robcazzaro
85727485cf
Update dht22.lua
...
Addresses issue #225 , slower loop timing due to the use of floats. Should be safe to use with integer-only builds, since on integer-only builds I could never see "3" as a valid value for either low or high
2015-02-16 19:17:23 +00:00
sza2
5a629e4297
Fix for negative values
2015-02-14 10:48:41 +01:00