Added some debug code

This commit is contained in:
Mike C 2013-04-06 20:44:27 -04:00
parent 75fd92cebf
commit 06c9588b35

View file

@ -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);
}
}