I2C Communication Protocol. So we have already read about Serial communication. Serial Communication is considered simple and better in comparison to other protocols like Bluetooth and USB. But it also has a downside in exchanging data like reading a digital sensor which requires another protocol to carry out this operation.

Don’t worry as we have plenty of protocols for a digital sensor.

Now as we already know that the board we have studied (STM 32 DISCOVERY BOARD) contains multiple sensors like an accelerometer, magnetometer, and gyroscope.

The accelerometer and magnetometer are packed in a single component which is accessible by an I2C bus.

#rust

Master-Slave Communication Protocol -> I2C - "Inter-Integrated Circuit"
1.90 GEEK