Richards, Justin P wrote: > What I am trying to do is see how many 26uS units > there are in a ext pulse. This should be the first sentence of your posting, I think. One of the numerous solutions might be: 1. Use any timer to count number of your XTAL 4Mhz pulses within your pulse, as described in 00592d.pdf (AN592 Frequency Counter, Using PIC16C5X) 2. Recalculate this number to the number of 26uS units in your pulse, using Olin's floating point code for example, if needed. Good luck. Mike. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads