DS1820 library for multiple devices
Dependencies: LinkedList
Dependents: DS1820_HelloWorld FindingTemp ThermalWake ThermalWake2019Code
Fork of DS1820 by
Diff: DS1820.h
- Revision:
- 15:00ec4f27d7f5
- Parent:
- 11:1a3c3002b50c
--- a/DS1820.h Sun Jan 08 17:26:21 2017 +0000 +++ b/DS1820.h Thu Mar 09 04:00:53 2017 +0000 @@ -107,6 +107,16 @@ */ bool setResolution(unsigned int resolution); + + /** This function returns the 64 bit address associated with a + * particular DS18B20. + * + * Contributed by John M. Larkin (jlarkin@whitworth.edu) + * + * @returns unsigned long long + */ + unsigned long long whoAmI(); + private: bool _parasite_power; bool _power_mosfet;