Hi Hank. . .
try ADCON0 = %10000111
it POR defaults to 0 0 0 0 0 0 0 0
Bits 3:2
00 = GPIO.0 AN0
01 = GPIO.1 AN1
10 = GPIO.2 AN2
11 = GPIO.3 AN3
Bits 1:0
Bit 0 , 0 = disabled 1 = enabled
Bit 1, 0 = A/D completed or not in progress 1 = ready to do for you
Last edited by Archangel; - 4th March 2010 at 01:49.
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