rad0 wrote: > loop > BSF _pin > BCF _pin > GOTO loop > = > is this as good as it gets, or can there be a > faster loop made? That gives you 4 cycles per pulse. You could speed it up by unrolling th= e loop: loop BSF _pin BCF _pin BSF _pin BCF _pin GOTO loop would give you 2 pulses per 6 cycles, for example. Adding more BSF/BCF's= inside the loop will asymptotically approach 2 cycles per pulse. 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. = You may also be able to use the SSP or USART module to send 0x55's continuously, but I don't know if the baud rate can be set high enough in= any suitable mode. Jason Harper -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads