HDC1080 sensor library

Revision:
1:a0e46d956969
Parent:
0:fdb750cc9ca8
Child:
4:250aceaa7a01
--- a/HDC1080.h	Sat Oct 06 12:08:55 2018 +0000
+++ b/HDC1080.h	Fri Nov 08 04:56:00 2019 +0000
@@ -2,29 +2,21 @@
 #ifndef HDC1080_H
 #define HDC1080_H
 
- 
- 
-
-
 
 class HDC1080:public I2C {
 public:
-   
-
     
-    HDC1080( PinName sda, PinName slc) ;                 // constructor
-
-//    ~HDC1080();                                          // destructor
+    HDC1080( PinName sda, PinName slc) ;            // constructor
 
     int ReadSignature(void);
     float readTemperature( void);                   // to read the Temperature from HDC1080 
     float readHumidity(void);                       // to read the Humidity from HDC1080
-    unsigned long readSerialNumber(void);            // to read the Humidity from HDC1080
+    unsigned long readSerialNumber(void);           // to read the Humidity from HDC1080
 
 protected:
      uint16_t read2Bytes(int chip_addr, int offset);
+     char _buffer[5];
+
 };
 
 #endif
-
-