Go Down

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

TheAvitator

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




TerenceEB

Kind of late to reply to this i know,have you found a solution to that?..I have found the solution if you still havnt let me know i think i can help

MorganS

Kind of late to reply to this i know,have you found a solution to that?..I have found the solution if you still havnt let me know i think i can help
Well please keep it private and don't let anyone else know what your solution is. The IDE has changed significantly since 2013 so bugs like this have been fixed at the source. The solution you have now probably wouldn't have worked in 2013.

Vaclav

Well please keep it private and don't let anyone else know what your solution is. The IDE has changed significantly since 2013 so bugs like this have been fixed at the source. The solution you have now probably wouldn't have worked in 2013.
It is not tool late to learn how to read and than be polite in your posts.
The OP is long gone so your remarks are just for current readers to enjoy.

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