I wrote - > I'd suggest you not use a 4MHz time-base, but 32768Hz. This > makes counting and rollover IRQs from TMR0 very easy The other advantage is power consumption. The slower the PIC runs, the less it uses eg ~ 1000 - 2000uA 4MHz 5.5V (XT mode) versus 35uA 32kHz 3V (LP mode), a substantial saving -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist