camerart
Well-Known Member
Hi M,They're working because you wrote the code using RC0 as the clock whereas the hardware needs RC2 to be the clock hence why the other code isn't working.
Mike.
I read your CODE over and over, then I spotted this line (In plain sight)
[ LATC.0 = 1 'connected to data in of shift register will clock in a high when CCP1 goes high ]
So mine was working because 2x wrongs made a right.
I'll swap it all over.
C