Giter Site home page Giter Site logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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 [email protected] on 9 Apr 2014 at 4:23

  • Added labels: ****
  • Removed labels: ****

from unojoy.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Thanks Alan!  I will try grounding the pins and get back to you here.

Original comment by [email protected] on 9 Apr 2014 at 4:52

  • Added labels: ****
  • Removed labels: ****

from unojoy.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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 [email protected] on 14 Sep 2014 at 3:26

  • Added labels: ****
  • Removed labels: ****

from unojoy.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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 [email protected] on 28 Nov 2014 at 6:05

  • Added labels: ****
  • Removed labels: ****

from unojoy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.