The followings links might be of interest to you although the projects are using 8051 and not PIC. http://www.rentron.com/at89c205.htm cheers, Davis Daniel wrote: Hi all, I am looking for code (or PIC programming help) for a clock with calendar and one channel controller. I am considering using a DS1307 RTC and 16F84 PIC or similar. It will be used outdoors, battery powered with no mains reference. The accuracy needs to be as accurate as possible but no more than 1 2 minutes per month. I have read that a RTC chip does not necessarily ensure better accuracy or stability. Should it all be done in the PIC? I need to switch at specific times on certain days, plus it needs compensation / adjustment for daylight saving times. I can find plenty of code examples for regular clocks but not with dates (calendar). Does anyone have any guidance for this? Thanks, Daniel -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics --------------------------------- Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.