04-09-2023, 12:19 AM
yes, you should set i2c pins first step, then your program code will use that setting as default. here is photo, just do as photo.
DS1307 RTC
|
04-09-2023, 12:19 AM
yes, you should set i2c pins first step, then your program code will use that setting as default. here is photo, just do as photo.
04-10-2023, 12:00 AM
Thank you for the clarification.
It means that I don't need to define SDA & SCL in my sketch, correct?? I see that SS in your explanation below SDA & SCL also use i2c pin 5, is not a conflict as my sketch don't find the RTC module connected.
04-10-2023, 12:51 AM
It means that I don't need to define SDA & SCL in my sketch, correct?? yes, just define in "pins_arduino.h".
04-10-2023, 03:59 AM
What about pin 5 used twice, both the SCL and below in SS in the "pins_arduini.h"
Is that not a conflict?
04-10-2023, 04:29 AM
yes, need use two different, i just tell you which two pins for I2C need preset.
04-10-2023, 08:21 AM
(04-10-2023, 04:29 AM)admin Wrote: yes, need use two different, i just tell you which two pins for I2C need preset. What pin to use here instead of pin 5
04-10-2023, 08:59 AM
A16 board, not use SPI bus, you can delete it or write any other GPIO number.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: |
1 Guest(s) |