Re: Can't make RA1 a digital Input on (10 out of 20) 16F887.

Originally Posted by
paulgrut
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?
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks