> I was wondering if anyone has tried to keep somewhat accurate > time using only the wdt You're going to have problems with this. A much more accurate solution is to put a 32.768KHz watch crystal on timer 1 which can then wake the PIC from sleep every 2, 4, 8, or 16 seconds depending on the prescaler setting. No clock cycles will be lost during the powerup time either. Overall accuracy will be as good as the crystal. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu