>>You must change it to a digital input. (from SkiMask)
He is correct - to do this add
before your TRIS commands and all should be well (see datasheet PORTA section for explanation)Code:ADCON1 = 6
>>You must change it to a digital input. (from SkiMask)
He is correct - to do this add
before your TRIS commands and all should be well (see datasheet PORTA section for explanation)Code:ADCON1 = 6
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks