Commit graph

22 commits

Author SHA1 Message Date
David Lehrian
2ae3b7a6e3 Add example.
Add example of using with 2 temperature sensors.  Also include the old call to get the single temperature to show backward compatability.
2021-08-20 08:50:39 -07:00
David Lehrian
4cc87cc8da corrected import of esp32/rom/ets_sys.h
Corrected deprecated location of import of rom/ets_sys.h to esp32/rom/ets_sys.h
2021-08-20 00:36:15 -07:00
David Lehrian
faa114d6a1 Move esp_system.h to ds18b20.h
Move include of esp_system.h from .c to .h file because I started getting an error that bool was undefined.
2021-08-18 20:39:22 -07:00
David Lehrian
29a349e6e0 Added defines for backward compatibility.
Added defines for backwards compatibility and added back method to get a single temperature without needing the address.
2021-08-18 19:03:26 -07:00
David Lehrian
9909176836 Support multiple devices
Updated to support multiple ds18b20 devices and provide for configuration of those devices.  Can get the temperature in Celcius and Farenheit.
2021-08-18 18:39:14 -07:00
Feelfree (Filip)
ae319b56c4
Fixed spacing 2018-10-19 18:26:01 +02:00
Feelfree (Filip)
87707959b5
Added License text #3 2018-03-13 22:07:17 +01:00
Feelfree (Filip)
f72aa93618
Update README.md 2017-11-10 23:49:30 +01:00
Feelfree (Filip)
84a6093347
Merge pull request #2 from akomakom/master
Renaming methods to avoid collisions
2017-11-10 23:32:01 +01:00
Akom
5abbe03134 Renaming methods to avoid collisions 2017-11-10 15:25:55 -07:00
Feelfree (Filip)
3ae7d3ad60 Shorten code 2017-03-03 12:01:58 +01:00
Feelfree
e1cb187e5e Create component.mk 2016-10-06 17:30:18 +02:00
Feelfree
096e791060 Update README.md 2016-09-29 18:11:45 +02:00
Feelfree
d0d3218ad1 Update README.md 2016-09-29 17:18:36 +02:00
Feelfree
6de884f296 Update ds18b20.c 2016-09-29 17:06:03 +02:00
Feelfree
2358496d88 Update ds18b20.h 2016-09-29 17:05:37 +02:00
Feelfree
3920ea6d09 Update README.md 2016-09-29 17:02:50 +02:00
Feelfree
62fb8fde10 Update README.md 2016-09-29 17:02:29 +02:00
Feelfree
b315db990d Create ds18b20.h 2016-09-29 16:53:38 +02:00
Feelfree
f3c699e6ed Create ds18b20.c 2016-09-29 16:52:55 +02:00
Feelfree
3d58ff084f Update README.md 2016-09-29 16:52:05 +02:00
Feelfree
e5990ba668 Initial commit 2016-09-29 16:50:57 +02:00