Go Down

Topic: Using SDA1 and SCL1 pins instead of using SDA and SCL ( pin 20, 21) (Read 604 times) previous topic - next topic

Hi Arduino developers!

I'm developing a quadcopter with my arduino due. I have a simple question for you. Arduino due has two I2c pins as you know and for the best option my shield circuit design for that project is using SDA1 and SCL1 pins for the I2c communication interface.

As a result of my researches of this subject , I have discovered that you should change

#include <Wire.h> >>>>>>   #include <Wire1.h>

Is that correct??

what changes should I do more about this?

I am really looking forward your opinions about this




Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy