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

Revision:
0:300d8042b9fe
diff -r 000000000000 -r 300d8042b9fe mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Aug 07 16:20:58 2019 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file