Hello !
I am starting to test an arduino mega 2560, but for the input of analog and digital, using classical input command for variables :
int test = analogRead(Pin);
and other
int test = digitalRead(Pin);
So, for the analog read, i use the analog pins...
and the digital pins for digital read, so i don't know why the inputs are not like i give values, is it my fault ?
my commands are not good ?
Then, I used the serial commands to see the values on my computer.
PS: My english isn't very good, I'm french...