Wii Nunchuk module with nasty hacks from debugging on a FRDM-KL25Z

Fork of WiiChuk_compat by Greg Brush

Files at this revision

API Documentation at this revision

Comitter:
eisd
Date:
Wed Jan 04 06:20:50 2017 +0000
Parent:
3:2431ea9893be
Commit message:
Reduce debugging

Changed in this revision

WiiChuk_compat.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 2431ea9893be -r bf058247fb2f WiiChuk_compat.cpp
--- 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;