> > If you need faster pulses than that, try a PWM channel - I think you can > > get a pulse per cycle that way, with no software overhead once started. > > The PWM resolution is Q cycles, not instruction cycles. You can get two > pulses per instruction cycle, or frequency of Fosc/2. I just got this back and realized this statement is wrong. The duty cycle resolution is indeed Q cycles, but the period is set by timer 2 which counts instruction cycles. The fastest you can get is Fosc/4 with 1/4, 1/2, and 3/4 duty cycle. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads