Go Down

Topic: Using SDA1 and SCL1 pins instead of using SDA and SCL ( pin 20, 21) (Read 581 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