Browse Source

Update Wii_Extension_debug.ino

pull/6/head
Jarno Lehtinen 6 years ago committed by GitHub
parent
commit
e771b97745
  1. 12
      Wii_Extension_debug.ino

12
Wii_Extension_debug.ino

@ -98,12 +98,7 @@ void loop() { @@ -98,12 +98,7 @@ void loop() {
delay(10);
}
#ifdef DEBUG
unsigned long d = micros()-t;
Serial.print(d);
#endif
// Nunchuck
uint8_t SX = data[0];
uint8_t SY = ~data[1];
@ -139,6 +134,11 @@ void loop() { @@ -139,6 +134,11 @@ void loop() {
//http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Classic_Controller
#ifdef DEBUG
unsigned long d = micros()-t;
Serial.print(d);
#endif
#ifdef DEBUG
/*for (uint8_t i = 0; i < JOYSTICK_DATA_SIZE; i++) {

Loading…
Cancel
Save