printing joystick when active

Dependencies:   mbed

Revision:
3:08df357719f2
Parent:
2:79baf68e700e
--- a/main.cpp	Tue May 04 08:39:12 2021 +0000
+++ b/main.cpp	Tue May 04 12:25:06 2021 +0000
@@ -32,6 +32,7 @@
 
         if (joystickCenter == 1) {
             printf( "joystickCenter is active \r\n");
+            wait(1);
         }
 
         if (joystickUp == 1) {