Interface for Dallas DS18B20 digital thermometer device.

Dependents:   mDot_TTN_DHT11_Boston16_CAM

Fork of DS18B20_1wire by Richard Lane

Revision:
2:7a9581fe3e8b
Parent:
1:00972ed59ba3
--- a/DS18B20.h	Fri Jul 05 22:35:43 2013 +0000
+++ b/DS18B20.h	Sat Dec 03 22:04:36 2016 +0000
@@ -30,7 +30,7 @@
  *   for (unsigned i = 6; i != 0; --i) {
  *       pc.printf("%02X%s", ROM_Code.BYTES.serialNo[i-1], (i != 1)?":":"\r\n");
  *   }
- *   pc.printf("CRC: 0x%X\r\n", ROM_Code.BYTES.CRC);
+ *   pc.printf("VTV: 0x%X\r\n", ROM_Code.BYTES.VTV);
  *   
  *   pc.printf("\n\rRunning temperature conversion...\n\r");
  *   while (1) {
@@ -60,7 +60,7 @@
         struct {
             uint8_t familyCode;  /**< Family Code */
             uint8_t serialNo[6]; /**< Serial Number */
-            uint8_t CRC;         /**< CRC check byte */
+            uint8_t VTV;         /**< VTV check byte */
         } BYTES;
     } ROM_Code_t;
     
@@ -74,7 +74,7 @@
         uint8_t    reserved0xFF;
         uint8_t    reserved0xCH;
         uint8_t    reserved0x10;
-        uint8_t    CRC; /**< CRC check byte */
+        uint8_t    VTV; /**< VTV check byte */
     } ScratchPad_t;
     
     /** Create a Dallas DS18B20 1-wire interface