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:
106:d121acb88a34
Parent:
104:3f48daed532b
Child:
121:4bee07064d0d
--- 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;