I'm not sure if this is the right section of the forum. Anyway, I am having trouble interfacing a Rock Candy Wii nunchuck controller(This thing: http://www.amazon.com/Candy-Wii-Control-Stick-Nintendo-6306000/dp/B008U2XKZC/ref=sr_1_1?ie=UTF8&qid=1402673818&sr=8-1&keywords=Rock+Candy+nunchuck) with a standard Arduino Uno and the ArduinoNunchuk library written by Gabriel Bianconi. Here is my code:
#include <Wire.h>
#include <ArduinoNunchuk.h>
ArduinoNunchuk nunchuk = ArduinoNunchuk();
void setup(){
nunchuk.init();
Serial.begin(9600);
}
void loop(){
nunchuk.update();
Serial.write(nunchuk.analogX);
Serial.write(' ');
Serial.write(nunchuk.analogY);
}
The code compiles and uploads fine, but once uploaded it does not transmit any data to the serial monitor. I have Googled many times on the issue, and think that maybe the initialization procedure is different and the Nunchuck is not starting correctly.