Quote Originally Posted by paulgrut View Post
I thought I had my large code finalized, and now half of my boards have a problem.

The RA1 input always reads 0. I have ANSEL = 0, ANSELH = 0, and have various settings of the other registers from the datasheet.
I also tried using the alldigital.pbp include file.

So in summary, You have 20 pics all programmed alike, and only half work as expected?
Perhaps you have gotten some sour hardware . . . perhaps?
Can you toggle those pins with a simple code, apart from this program?