program for temperature reading with mlx90615

Dependencies:   crc8

Revision:
2:c4552b8c47c0
Parent:
0:db513e91a2c9
--- a/Mlx90615.h	Wed Jul 15 18:55:10 2020 +0000
+++ b/Mlx90615.h	Thu Jul 16 10:58:18 2020 -0400
@@ -11,12 +11,12 @@
 {
 public:
     void wake();
-    unsigned int sleep();
-    unsigned int read_temperature();
+    void sleep();
+    float read_temperature();
     void erase_eeprom_address(unsigned char address);
     void set_emissivity(float e);
 private:
-    unsigned int read(unsigned char memory, unsigned char address);
+    float read(unsigned char memory, unsigned char address);
     void write(unsigned char address, unsigned int value);
 };