Implementation of 1-Wire with added Alarm Search Functionality
Dependents: Max32630_One_Wire_Interface
Diff: Slaves/Sensors/DS18B20/DS18B20.cpp
- Revision:
- 106:d121acb88a34
- Parent:
- 104:3f48daed532b
- Child:
- 121:4bee07064d0d
diff -r e6ba25711c05 -r d121acb88a34 Slaves/Sensors/DS18B20/DS18B20.cpp --- a/Slaves/Sensors/DS18B20/DS18B20.cpp Wed Aug 03 22:08:31 2016 +0000 +++ b/Slaves/Sensors/DS18B20/DS18B20.cpp Wed Aug 03 22:12:13 2016 +0000 @@ -299,19 +299,19 @@ switch(scratchPadBuff[4]) { - case DS18B20::NINE_BIT: + case DS18B20::NineBit: temp = (intTemp * 0.5F); break; - case DS18B20::TEN_BIT: + case DS18B20::TenBit: temp = (intTemp * 0.25F); break; - case DS18B20::ELEVEN_BIT: + case DS18B20::ElevenBit: temp = (intTemp * 0.125F); break; - case DS18B20::TWELVE_BIT: + case DS18B20::TwelveBit: temp = (intTemp * 0.0625F); break;