Ramana wrote: .... >So the point is why don't you use the timer in PIC to maintain a real >time clock. Is there anything I am mising >rgds >ramana > The PIC internal timer makes a fine RTC, if the xtal frequency is chosen correctly [some power of 2], and as long as updating the clock and data acquisition don't louse up each other's timing. Absolute accuracy is always a problem, as even a +/-50 PPM xtal translates into ~4 sec error per day. Also, you might check out the 2nd gen PICs, like 16C73/74. They have a 2nd internal oscillator wired to pins C0 & C1, which can be used with a 32 Khz watch xtal, even while the main oscillator runs at 20 Mhz [whatever]. However, I have never heard tell of anyone actually using it. Guys???? - Dan Michaels Oricom Technologies http://www.sni.net/~oricom ==========================