I can't seem to get any values from any of the analog pins on the Chipkit Pi. I will only get a 0 value if something is connected. I'm using a 100K pot to test. Using a volt meter, I can see that I'm putting 0 to 3.3 volts into the analog pin, but I don't get any value from analogRead.
I've tried analogRead(0) (I get a reading of 0) and analogRead(A0) (I get a constant reading of around 635). I've also tried other analog pins with the same result.
The digital pins work OK.
Am I missing something?
Thanks.