Maybe you can clarify something else.

You say that...
When RC0 goes high a pulse appears on RC1 that is sufficiently long enough ...


Are we talking a few nanoseconds, or several hundred microseconds? Are you looking at a scope?

I'm also a bit confused with this part
The last three lines seem to put the unwanted pulse on PORTC.1
However,

high rst2
SHIFTOUT dq,clk,1,[%0\1,freqwiper,pwwiper]
low rst2
Since "rst2" is PORTC.1, you will obviously get a pulse there on every pass. But the original question mentioned that When RC0 goes high a pulse appears on RC1. Is it the exact same time?<br><br>