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.
Diff: main.cpp
- Revision:
- 1:6282a1ee1391
- Parent:
- 0:f4dce843ac31
--- a/main.cpp Thu Dec 15 09:37:19 2016 +0000
+++ b/main.cpp Fri Apr 14 02:01:45 2017 +0000
@@ -26,7 +26,10 @@
printf("I2C device found at address 0x%X", address); //Returns 7-bit addres
nDevices++;
}
-
+ else
+ {
+ //printf("I2C write returned error code 0x%X for address 0x%X\n", error, address);
+ }
}
if (nDevices == 0)
printf("No I2C devices found\n");