Microchip have published another application note on using the CLC & NCO in= the new 16F150x chips. http://ww1.microchip.com/downloads/en/AppNotes/01473A.pdf "Various Solutions for Calculating a Pulse and Duty Cycle" --=20 Scanned by iCritical. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .