Son of a gun, that works (please note that T0CKI is RB6 on a 16F88).
The three cycle loop 'overhead' (BTFSS & GOTO) is a bottleneck. You could get better performance if you spread it out over more pulses. If you were to produce 16 pulses within the loop then you could use a single byte variable counter instead of Timer 1 and bump the output up to 2+ MHz.
Regards, Mike
Bookmarks