Andreas
f56722074a
fixed missing forward declaration ( #2975 )
2020-06-09 22:26:06 +02:00
sergio
d77666c0e8
trailing spaces cleanup ( #2659 )
2019-02-17 18:26:29 +00:00
Marcel Stör
b126c6b2d2
Re-organize documentation
...
Drop support for localized content, #2213
Restructure some content to match more closely what we have in master, #2542
2019-01-13 22:01:57 +01:00
galjonsfigur
f5fcd0d984
Recreate and unify documentation for Lua modules ( #2592 )
...
* Recreate and unify documentation for Lua modules
* Fix typos in docs
* Added/modified READMES to link to new documentation
2018-12-16 21:39:43 +01:00
Nathaniel Wesley Filardo
61433c448e
Deprecate C ds18b20 module ( #2581 )
2018-12-05 21:38:11 +01:00
Marcel Stör
c4440e47ba
Link ds18b20 C/Lua module docs
2017-08-16 21:32:04 +02:00
Lukáš Voborský
55c368ac03
DS18B20 module - update (enhanced, optimized) ( #1996 )
2017-08-16 21:04:52 +02:00
Arnim Läuger
925991715f
Fix float version, auto-detect int/float, OO tmr ( #1866 )
2017-03-16 23:10:04 +01:00
Arnim Läuger
46f651cccb
Fix self.pin when specifying lpin for readTemp() ( #1865 )
2017-03-16 12:36:09 +01:00
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
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
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
Tamas Szabo
67ab2d018e
Update ds18b20.lua
2015-02-21 17:05:16 +01:00
sza2
5a629e4297
Fix for negative values
2015-02-14 10:48:41 +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
8cc661923b
The read function returns an incorrect temperature. Fixed #149 .
2015-01-31 10:46:43 +08:00
HuangRui
d4dcf55764
Formatted ds18b20.lua.
2015-01-26 18:16:55 +08:00
HuangRui
f09f6443d1
Move ds18b20.CN.md to ds18b20.ZH.md
2015-01-21 18:45:08 +08:00
baracudaz
6525747859
DS18B20 module examples
...
Adding couple of example on how to use DS18B20 module
2015-01-10 10:58:08 +01:00
HuangRui
c18f198af8
Fix the bug of memory release in documents.
2014-12-23 16:24:53 +08:00
funshine
152107feab
rename folder name to pre_build
2014-12-22 20:28:37 +08:00