M Mostez Well-Known Member Licensed User Longtime User Sep 15, 2016 #1 Hello, I need RTC device for Arduino project, I use Ethernet shield with on board micro SD slolt. which one is convenient for use without conflicts DS1302 or DS1307? if i have to use DS1307, is there a similar library for DS1307 like this one? or code set and get time in BCD and convert it to readable format. Thanks
Hello, I need RTC device for Arduino project, I use Ethernet shield with on board micro SD slolt. which one is convenient for use without conflicts DS1302 or DS1307? if i have to use DS1307, is there a similar library for DS1307 like this one? or code set and get time in BCD and convert it to readable format. Thanks
I inakigarm Well-Known Member Licensed User Longtime User Sep 15, 2016 #2 Look at this example (B4R code to read/set time on DS3231 RTC without library and B4J to read/set time set by user) DectoBCD subroutine included (For BCDtodec see Timer1 code) Upvote 0
Look at this example (B4R code to read/set time on DS3231 RTC without library and B4J to read/set time set by user) DectoBCD subroutine included (For BCDtodec see Timer1 code)