Discussion in "General help Guidance and Discussion" started by    kenleung    Apr 25, 2008.
Fri Apr 25 2008, 02:57 pm
#1
Ive just downloaded the digi-clock project from this valuable site, and just got a question that can i use DS1302 to replace the DS1307 without having to modify the original program? thx : )


[ Edited Fri Apr 25 2008, 02:58 pm ]
Fri Apr 25 2008, 04:50 pm
#2
Sorry you cannot directly replace DS1307 with DS1302. Reason is, Interface used by DS1302 is 3 wire interface where as DS1307 use two wire interface. So protocols are totally different.
Fri Apr 25 2008, 07:34 pm
#3
hi Ajay, I am a learner of assembly language, can u tell me how i should modify the program for changing the RTC to DS1302 ?many thanks
Fri Apr 25 2008, 08:02 pm
#4
three wire protocol is totally different from two wire.. so whole program need to be rewritten
all you can copy is the the time setting part i think.. coz that can be used as it is.. rest you need to rewrite.
Sat Apr 26 2008, 04:23 pm
#5
omg...

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Loganbag
Tue May 14 2024, 04:05 am
MichaelMog
Tue May 14 2024, 03:58 am
ThomasGaxaW
Mon May 13 2024, 05:33 pm
RobertInfup
Mon May 13 2024, 04:28 pm
Joshuatem
Mon May 13 2024, 08:30 am
RaymondPex
Mon May 13 2024, 03:24 am
Kennethbycle
Sun May 12 2024, 03:12 pm
MumerMeags
Sun May 12 2024, 01:47 pm