I am using my arduino to measure voltage but the value on serial monitor is inconsistent (usually oscillating between two values). So I checked the voltage on back of the board using multimeter(through the solder points) and was getting the correct voltage value. The problem seems to be with the Amega328p microcontroller(ADC). I have tried to take out the Atmega IC but it doesn’t come out.Is buying a new board my only option?
the code I am using is the example code readvoltage.