Hello, i recently bought an arduino Due. And while testing the analog input i found it isnt working properly.
However, before saying the analog ports are broken maybe there is something im not aware about the due.
The circuit is very simple. A resistor in series with a photoresistor and then ground. In front of the photoresistor there is a blinking led. So in serial plotter a kind of square wave should be observed. However the valued measured was always constant despite the switching on\off led.
This experiment worked perfcectly in an arduino UNO, so it isnt a circuit problem. Also triying differnt analog ports didnt help. And with analogReadResolution the number shown was bigger but always constant.
I hope there is somthing im missing and not a board issue. If you have any idea or recomendation let me know