Board: Arduino Uno
I suspect the ADC on my Arduino has fried. When I call analogRead() on any of the pins (tried 3,4,5) and print the value to the serial port I read a value that starts at 300 and drops until it stabilizes around 250, similar to what you see for a floating pin. Here is the pertinent part of the code I am using for testing.
val = analogRead(5);
The output on the serial monitor looks something like:
I have the wiper of a pot connected to pin 5 and have used a volt meter to make sure the pot is not faulty.
At this point I'm assuming the ADC is friend and I need a new chip. Is there anything else worth looking into before I place the order?