Marcus Lee / AMS_CCS811_gas_sensor

Dependencies:   AMS_ENS210_temp_humid_sensor

Files at this revision

API Documentation at this revision

Comitter:
UHSLMarcus
Date:
Tue Jan 24 11:32:49 2017 +0000
Parent:
8:58a36d9218be
Child:
10:225a71ec316c
Commit message:
removed some printfs

Changed in this revision

AMS_CCS811.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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;
 }