I have a program that uses shiftin and shiftout to read and set the time on a ds1302. It works on the 16f876A, but when I move it to the 877A, it no longer reliably reads the ds1302.

I also have some lcdout commands that also get flaky in the transition.

any suggestions?

thanks

bob