simple CCS811 driver

Dependencies:   AMS_ENS210_temp_humid_sensor

Dependents:   TBSense2_Sensor_Demo

Fork of AMS_CCS811_gas_sensor by Marcus Lee

Revision:
9:3f0733792717
Parent:
8:58a36d9218be
Child:
10:225a71ec316c
--- a/AMS_CCS811.cpp	Tue Jan 24 11:21:43 2017 +0000
+++ b/AMS_CCS811.cpp	Tue Jan 24 11:32:49 2017 +0000
@@ -174,11 +174,6 @@
     float_to_short(humid, bytes);
     float_to_short(temp, bytes+2);
     
-    USBserialComms.printf("humid byte0: %s ", byte_to_binary(bytes[0]));
-    USBserialComms.printf("humid byte1: %s\r", byte_to_binary(bytes[1]));
-    USBserialComms.printf("temp byte0: %s ", byte_to_binary(bytes[2]));
-    USBserialComms.printf("temp byte1: %s\r", byte_to_binary(bytes[3]));
-    
     return i2c_write(ENV_DATA, bytes, 4) == 4;
 }