Open GoogleCodeExporter opened 9 years ago
Have you tried connecting the unused analog pins to ground? From first glance,
it sounds like the common problem where, since the ADC is shared by all the
analog input pins, if the other pins are left floating, the ADC will still have
the residual voltage left from the pin connected to the pot, and will report
that for all subsequent reads.
Not sure what's up with A1-A5; I'll try and poke around with that a bit
tomorrow, but try connecting the unused pins to ground, and if you don't want
to use them in your application, you can set the unused axes to 128 instead of
an analogRead.
Original comment by alan.chatham@gmail.com
on 9 Apr 2014 at 4:23
Thanks Alan! I will try grounding the pins and get back to you here.
Original comment by MikeB1...@gmail.com
on 9 Apr 2014 at 4:52
I have the same problem: I attached 6 analog joystick from A0 to A11;
A0,A6-A11 work properly, A1-A5 do nothing. I have tried to invert the joystick
but is the same. I have win7 64 bit. No errors during installation. The buttons
work propely
Original comment by andrea.o...@gmail.com
on 14 Sep 2014 at 3:26
I found a solution, in the sketch the axis 1-5 aren't setted to analog input
A1-A5 but with a fixed value. I deleted fixed value and uncommented the
analogpin(1-5).
Bye
Original comment by andrea.o...@gmail.com
on 28 Nov 2014 at 6:05
Original issue reported on code.google.com by
MikeB1...@gmail.com
on 9 Apr 2014 at 2:31