Wii Nunchuk module with nasty hacks from debugging on a FRDM-KL25Z
Fork of WiiChuk_compat by
Diff: WiiChuk_compat.cpp
- Revision:
- 4:bf058247fb2f
- Parent:
- 2:566662f892b1
--- a/WiiChuk_compat.cpp Sat Jun 25 07:19:32 2016 +0000 +++ b/WiiChuk_compat.cpp Wed Jan 04 06:20:50 2017 +0000 @@ -16,7 +16,7 @@ } cmd[0] = 0xfb; cmd[1]= 0x00; - pc.printf("%i\r\n", _i2c.write(NUNCHUCK_ADDR, (const char*)cmd, sizeof(cmd), true)); + //pc.printf("%i\r\n", _i2c.write(NUNCHUCK_ADDR, (const char*)cmd, sizeof(cmd), true)); _oldC = 0; _oldZ = 0;