You can read Analog no matter which state ANSEL is in.
It's Digital that has a problem, and always reads 0 when ANSEL bits = 1.
Frankly, I think they should have called the register ... DIGSEL.
P.S.
But, when Digital is enabled on an analog pin, it adds an extra load, can throw off the analog impedance, and adds switching currents when the analog signal is near the input switching levels.
Especially prevalent on TTL inputs.
Bookmarks