Added some debug code
This commit is contained in:
parent
75fd92cebf
commit
06c9588b35
|
@ -51,6 +51,10 @@ void setup() {
|
|||
void loop() {
|
||||
joyStickEvent = pspJoystick->direction();
|
||||
if (joyStickEvent != joyNone) {
|
||||
if (DEBUG) {
|
||||
Serial.print("Joystick Event: ");
|
||||
Serial.println(joyStickEvent);
|
||||
}
|
||||
lcd->handleJoystickEvent(joyStickEvent);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue