Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: AMS_ENS210_temp_humid_sensor
Revision 9:3f0733792717, committed 2017-01-24
- 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;
}