Implementation of 1-Wire with added Alarm Search Functionality
Dependents: Max32630_One_Wire_Interface
Diff: Slaves/Sensors/DS18B20/DS18B20.h
- Revision:
- 105:e6ba25711c05
- Parent:
- 104:3f48daed532b
diff -r 3f48daed532b -r e6ba25711c05 Slaves/Sensors/DS18B20/DS18B20.h --- a/Slaves/Sensors/DS18B20/DS18B20.h Tue Aug 02 18:21:09 2016 +0000 +++ b/Slaves/Sensors/DS18B20/DS18B20.h Wed Aug 03 22:08:31 2016 +0000 @@ -58,16 +58,13 @@ { public: - ///DS18B20 Family Code - static const uint8_t FAMILY_CODE = 0x28; - ///Available resolutions of the DS18B20 enum Resolution { - NINE_BIT = 0x1F, - TEN_BIT = 0x3F, - ELEVEN_BIT = 0x5F, - TWELVE_BIT = 0x7F + NineBit = 0x1F, + TenBit = 0x3F, + ElevenBit = 0x5F, + TwelveBit = 0x7F }; /**********************************************************//**