DELETE

edited September 2014 in How To...

DELETE

Answers

  • edited August 2014

    hello !

    I'm not 100% sure, but from what you say I think you plugged your wire to a digital output on the arduino instead of analog output.

    I never use nunchuk with arduino&processing, but I already used it in an AS3 project and I remember the values that came from nunchuck were floats (very accurate floats actually) then I don't think it's normal that you get int value, but it could be normal if you use digital output instead of analog.

    Let me know if it work !

  • edited August 2014

    I think it come from here, on the arduino documentation I can read that analog pins have the numbers 3, 5, 6, 9, 10, 11

    Then your 3 values

    final int ANALOGX = 0;
    final int ANALOGY = 1;
    final int ACCELX  = 2;
    

    are incorrect

Sign In or Register to comment.