Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DS1307 RTC
#11
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.
   
Reply
#12
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.
Reply
#13
It means that I don't need to define SDA & SCL in my sketch, correct?? yes, just define in "pins_arduino.h".
Reply
#14
What about pin 5 used twice, both the SCL and below in SS in the "pins_arduini.h"

Is that not a conflict?
Reply
#15
yes, need use two different, i just tell you which two pins for I2C need preset.
Reply
#16
(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


Attached Files Image(s)
   
Reply
#17
A16 board, not use SPI bus, you can delete it or write any other GPIO number.
Reply


Forum Jump:


Users browsing this thread: