You also need to make anselh=%00001111. Anselh is the analog register for port C while ansel is the register for port A. Like I said though I may have the 0's and 1's backwards. I always get confused and have to experiment. The four 0s at the beginning are don't cares.
Bookmarks