You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module provides access to the DS18B20 1-Wire digital thermometer. Note that NodeMCU offers both a C module (this one) and [a Lua module for this sensor](https://github.com/nodemcu/nodemcu-firmware/tree/dev/lua_modules/ds18b20). See [#2003](https://github.com/nodemcu/nodemcu-firmware/pull/2003) for a discussion on the respective merits of them.
6
+
This module provides access to the DS18B20 1-Wire digital thermometer.
7
+
8
+
## Deprecation Notice
9
+
10
+
Note that NodeMCU offers both a C module (this one) and [a Lua module for this
The C implementation is deprecated and will be removed soon; please transition
13
+
to Lua code.
7
14
8
15
## ds18b20.read()
9
16
Issues a temperature conversion of all connected sensors on the onewire bus and returns the measurment results after a conversion delay in a callback function.
Copy file name to clipboardExpand all lines: lua_modules/ds18b20/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# DS18B20 Module
2
2
3
-
This is a Lua module for the DS18B20 1-Wire digital thermometer. Note that NodeMCU offers both a Lua module (this one) and [a C module for this sensor](http://nodemcu.readthedocs.io/en/latest/en/modules/ds18b20/). See [#2003](https://github.com/nodemcu/nodemcu-firmware/pull/2003) for a discussion on the respective merits of them.
3
+
This is a Lua module for the DS18B20 1-Wire digital thermometer.
0 commit comments