1-Wire® library for mbed. Complete 1-Wire library that supports our silicon masters along with a bit-bang master on the MAX32600MBED platform with one common interface for mbed. Slave support has also been included and more slaves will be added as time permits.

Dependents:   MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more

Superseded by MaximInterface.

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
         };
 
         /**********************************************************//**