My UNO can’t read voltage properly using the example sketch ReadAnalogVoltage.
The voltage does change as i twist the pot but only between 1,1~1,3v. (I’ve also tested without the float function, making the sensorValue sit at around 300/1023)
When first powering the board, the voltage will drop from ~5v over the course of a few seconds.
The outer pins of the pot are connected to +5v and GND, the middle pin to A0. I’ve tried changing the analog pin without any result.
I hope someone can help me with this problem.