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: SDFileSystem max32630fthr USBDevice
Fork of FTHR_SD_Demo by
Diff: main.cpp
- Revision:
- 19:7081d6f6288b
- Parent:
- 18:d913ec9dd9c2
- Child:
- 20:ba06efe24970
--- a/main.cpp Fri Aug 31 19:47:40 2018 +0000
+++ b/main.cpp Fri Aug 31 22:12:48 2018 +0000
@@ -854,7 +854,7 @@
device_count = search_I2C_bus(OT07);
pc.printf("%d devices:\r\n", device_count);
for(j=0;j<device_count;j++){
- pc.printf("device[%02X] rom id[",j);
+ pc.printf("device[%02X] addr[%02X] rom id[",j, OT07[j].I2C_address);
for(i=7;i>=0;i--){
pc.printf("%02X",OT07[j].rom_id[i]);
}
