Skip to content
Snippets Groups Projects
Commit 3506e457 authored by Jonathan BAUDIN's avatar Jonathan BAUDIN
Browse files

Adding black nunchuk support

parent f397a09a
Branches
Tags
No related merge requests found
......@@ -10,7 +10,9 @@ void setup()
Wire.begin(); // join i2c bus as master
Wire.beginTransmission(0x52);// transmit to device 0x52
Wire.write((uint8_t)0x40);// sends memory address
Wire.write((uint8_t)0xF0);// sends sent a zero.
Wire.write((uint8_t)0x55);// sends sent a zero.
Wire.write((uint8_t)0xFB);// sends sent a zero.
Wire.write((uint8_t)0x00);// sends sent a zero.
Wire.endTransmission();// stop transmitting
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment