Scanning I2C addresses
I2C is a simple open-drain bus that is popular for connecting devices to microcontrollers (MCUs), such as sensors, RTCs, displays etc. Devices on the I2C bus are addressed by 7 bits and the bus data and clock lines are pulled-up by a set of pull-up resistors. A good first test …