Code: Select all
void setup() {
Serial.begin(115200);
Serial.println("HELLO");
Wire.begin(NUNCHUK_ADDRESS);
Wire.beginTransmission(NUNCHUK_ADDRESS);
Wire.write(0xF0);
Wire.write(0x55);
Wire.endTransmission();
Wire.beginTransmission(NUNCHUK_ADDRESS);
Wire.write(0xFB);
Wire.write(0x00);
Wire.endTransmission();
Serial.println("end of setup");
}
Thanks.