Forum Software Ferduino code DS1307 pin assignment

DS1307 pin assignment  [SOLVED]


Post Number:#1 Post Fri Jul 12, 2019 5:33 pm
Posts: 7
Topics: 5
Images: 2
Solve rating: 0
Joined: Tue Aug 07, 2018 3:09 am
Topics: 5
Age: 75
Gender: None specified
National Flag:
Spain
Hello Fernando

Before getting lost in the stormy code, I have a doubt that you will surely know how to solve immediately.

In adapting your code to my application, I am using the DS1307new library that does not have the possibility of attaching other pins to 20 and 21.
On the other hand, I want to use a PCF8745, which, in my case, should be with pins 18 and 19.

However, you change the pins, is there any reason why you change the pins ?, in other words, can I use the RTC with pins 20 and 21 and PCF8575 with pins 18 and 19 ?.

Thanks for your time and attention,
Last edited by Fernando Garcia on Fri Jul 12, 2019 6:20 pm, edited 3 times in total.
Reason: Please use all letters in uppercase only if it's an abbreviation.

Post Number:#2 Post Fri Jul 12, 2019 6:17 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Please use all letters in uppercase only if it's an abbreviation.

As explained here for latest version of Ferduino code the RTC should be connected to 20 and 21.

It's was a limitation from Henning's library but I have edited it to solve this problem.

Actually there's no reason to change the library.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.




Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 1 guest

cron