Pinguino Forum

Full Version: Pic32 Pinguino not reading Analog
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I have a problem getting my Pic32-Pinguino (RevB) to read analogue data.

Even running this simple code from the Examples/01.Basics is not returning any readings over the serial:

void setup() {

void loop() {
int sensorValue = analogRead(A0);

I have tested the serial port with more advanced programs so I know it's working.
And the pot have been tested with my Fluke so it also works.

So does anybody have an idea about what I might be doing wrong?