We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c4e2e commit e771b97Copy full SHA for e771b97
Wii_Extension_debug.ino
@@ -98,12 +98,7 @@ void loop() {
98
delay(10);
99
}
100
101
- #ifdef DEBUG
102
- unsigned long d = micros()-t;
103
- Serial.print(d);
104
- #endif
105
-
106
+
107
// Nunchuck
108
uint8_t SX = data[0];
109
uint8_t SY = ~data[1];
@@ -139,6 +134,11 @@ void loop() {
139
134
//http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Classic_Controller
140
135
141
136
137
+ #ifdef DEBUG
138
+ unsigned long d = micros()-t;
+ Serial.print(d);
+ #endif
142
143
#ifdef DEBUG
144
/*for (uint8_t i = 0; i < JOYSTICK_DATA_SIZE; i++) {
0 commit comments