printing joystick when active

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
stephensv650
Date:
Tue May 04 12:25:06 2021 +0000
Parent:
2:79baf68e700e
Commit message:
Final

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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) {