RTC DS1302 or DS1307

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
User avatar
ohararp
Posts: 194
Joined: Tue Oct 03, 2006 11:29 pm
Location: Dayton, OH USA
Contact:

RTC DS1302 or DS1307

Post by ohararp » Mon Nov 06, 2006 5:36 pm

Just curious if anyone has tried to interface to a RTC DS1032 or DS1307 and could provide some code examples?
Thanks Ryan
$25 SMT Stencils!!!
www.ohararp.com/Stencils.html

User avatar
Steven
BETA Tester
Posts: 406
Joined: Tue Oct 03, 2006 8:32 pm
Location: Cumbria, UK

Post by Steven » Mon Nov 06, 2006 6:30 pm

Johngb has written a library for the DS1307 - hopefully he will read this post soon.

Regards,

Steven

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Mon Nov 06, 2006 8:53 pm

I spoke to John today - he is really busy on another project at the moment so asked me to reply...

John worked on a DS1307 module some time ago, with some really useful formatting functions. However, there are a couple of things I need to speak with him about before posting the whole set of modules. In the meantime, here is a slightly modified version of his DS1307 module.

http://www.sfcompiler.co.uk/wiki/pmwiki ... ser.DS1307

Post Reply