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 b= e > used outdoors, battery powered with no mains reference. The accuracy > needs to be as accurate as possible but no more than =B1 2 minutes per > month. I use the X1226 It is cheap, IIC controlled and has only 1 external component - a crystal. The chip has on board variable timing adjustment = via it's internal timing CAPs. You pick the PPM adjustment and it uses different CAPs to adjust the time. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.