Pages: [1]   Go Down
Author Topic: Using SDA1 and SCL1 pins instead of using SDA and SCL ( pin 20, 21)  (Read 487 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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



Logged

Pages: [1]   Go Up
Jump to: