PDA

View Full Version : Bring up an old Goodie! RTC



crhomberg
- 29th September 2008, 20:01
Melanie,

can you remember when you and Ralph figured out a very nifty way of generating Year, month, day, hours & seconds from the 32 bit value from the DS1994 Real Time Clock?

Here's the thread:

http://www.picbasic.co.uk/forum/showthread.php?s=&threadid=250&perpage=15&pagenumber=1

I am very impressed and am using the code and playing around with it. All I want to do now is write back to the RTC an alarm date which can then in turn flag the alarm bit of the status register for my "Pay Alarm Clock".

Could you help me with this one, pleasssseee?

Chris