A Library for the AMS ENS210 temperature and humidity sensor.

Dependents:   AMS_CCS811_gas_sensor AMS_CCS811_gas_sensor

Revision:
1:94a79c88c105
Parent:
0:7088b1bdc2e5
Child:
3:3b427231e5a7
--- a/AMS_ENS210.h	Tue Jan 17 14:23:13 2017 +0000
+++ b/AMS_ENS210.h	Tue Jan 17 14:26:34 2017 +0000
@@ -185,9 +185,9 @@
         bool _temp_mode;
         bool _humid_mode;
         bool _power_mode;
-        bool _reset;
-        uint16_t temp_reading;
-        uint16_t humid_reading;
+        bool _reset = 0;
+        uint16_t temp_reading = 0;
+        uint16_t humid_reading = 0;
         
         bool write_config(bool system = true, bool sensor =  true);
         const char * read_config(bool system = true, bool sensor =  true);