0
\$\begingroup\$

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?

asked Feb 1, 2018 at 18:26
\$\endgroup\$
1
  • 1
    \$\begingroup\$ A4 and A5 on the Uno are the SDA and SCL pins. \$\endgroup\$ Commented Feb 1, 2018 at 18:32

1 Answer 1

1
\$\begingroup\$

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

enter image description here

answered Feb 1, 2018 at 18:45
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.