Scans for I2C devices and prints out the addresses to serial. Scans once at startup and again whenever it receives a "s" over the serial port. When using putty, turn "Local Echo" and "Local line editing" options to "Force On". Tested on a Nucleo F446RE but should be portable to most boards with minimal editing.

Dependencies:   mbed

Download repository: zip gz

Files at revision 0:300d8042b9fe

Name Size Actions
[up]
main.cpp 2049 Revisions Annotate
mbed.bld 69 Revisions Annotate