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.
You are viewing an older revision! See the latest version
Homepage
This example is known to work well on the following platforms: RHOMBIO_L476DMW1K
The example code scans any I2C peripheral attached to the kit, whether it is any rhomb.io slave module attached to Deimos carrier board or any external peripheral wired to SDA, SCL and GND pins available on Deimos pin header H2.
The code also prints out the result, showing the address of any device found on the I2C bus:
Rhomb.io example code - I2C Scanner
Searching for I2C devices...
I2C device found at address 0x60 (0xC0 in 8-bit)
1 device. found