> Richards, Justin P wrote: > . > > I need to encode quickly a 16bit number into a 8 bit > > number for pulses greater than 6.6uS as I have > > > > If both these fail i will increase processor speed. > > Add extra 2 bucks and start with PIC18F242. > > Mike. I ran into a similar problem measuring events less than 6us and doing calcs based on the period recorded so switched to the 50MHz SX for that particular interface. With 20ns instruction cycle times vs 200ns on the F628, problem gone -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu