Electrical – I2C Communication between Arduino Uno and mbed

arduinoi2cmbedwiring

I have an Arduino Uno and mbed sharing the same USB power supply/ground.

When connecting the two to allow I2C, I would have assumed I'd need to attach the Arduino's SDA pin (PC4) to the mbeds SDA pin, and the SCL pin to the corresponding SCL pin.

However, the examples I've seen seem to only make use of the Arduino's A4 and A5 pins.

Which is the correct (if any) way of doing this?

Best Answer

PC4 is A4 and PC5 is A5. No mystery here, you are just using different names.

enter image description here