Hi, I'm currently playing around with one of my PIC16F628s - I wanted to build some form of battery-powered rolling-code generator. The catch is, the timekeeping is done with TMR1, while the PIC itself is running off the 4MHz internal oscillator. Does anyone know if the TMR1 oscillator (or rather a TMR1 counter rollover) can be used to take the 16F628 out of Sleep mode? Thanks. -- Phil. | Acorn Risc PC600 Mk3, SA202, 64MB, 6GB, philpem@dsl.pipex.com | ViewFinder, Ethernet (Acorn AEH62), http://www.philpem.dsl.pipex.com/ | 8xCD, framegrabber, Teletext ... Reactance: your imaginary friend. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu