library for AMS ENS210 temperature and humidity sensor

Dependents:   rIoTwear-temp-humid

Revision:
1:94a79c88c105
Parent:
0:7088b1bdc2e5
Child:
2:f5a7883ae9c2
--- a/AMS_ENS210.cpp	Tue Jan 17 14:23:13 2017 +0000
+++ b/AMS_ENS210.cpp	Tue Jan 17 14:26:34 2017 +0000
@@ -4,8 +4,7 @@
 AMS_ENS210::AMS_ENS210(I2C * i2c) : 
     _temp_mode(CONFIG_TEMP_OP_MODE), 
     _humid_mode(CONFIG_HUMID_OP_MODE), 
-    _power_mode(CONFIG_POWER_MODE),
-    _reset(0) 
+    _power_mode(CONFIG_POWER_MODE)
 { 
     _i2c = i2c;
 }
@@ -13,8 +12,7 @@
 AMS_ENS210::AMS_ENS210(I2C * i2c, bool temp_single_shot, bool humid_single_shot) : 
     _temp_mode(temp_single_shot), 
     _humid_mode(humid_single_shot), 
-    _power_mode(CONFIG_POWER_MODE),
-    _reset(0)  
+    _power_mode(CONFIG_POWER_MODE) 
 { 
     _i2c = i2c;
 }
@@ -22,8 +20,7 @@
 AMS_ENS210::AMS_ENS210(I2C * i2c, bool temp_single_shot, bool humid_single_shot, bool low_power) : 
     _temp_mode(temp_single_shot), 
     _humid_mode(humid_single_shot), 
-    _power_mode(low_power),
-    _reset(0) 
+    _power_mode(low_power)
 {
     _i2c = i2c;
 }