Hello! I'm triying to run a simple potenciometer analog read program with arduino uno and arduino Mega 2560.
I have no problems with the UNO, full resistance=0 and no resistance=1023 reading values
But, with the Mega, same code same pins...full resistance=130 and no resistance=800 reading values.
Why?? Thank you very much for your help guys!