Guitar Hero Project on LPC1768 using push buttons, analog joystick. speaker and LCD Display

Dependencies:   mbed wave_player mbed-rtos 4DGL-uLCD-SE SparkfunAnalogJoystick SDFileSystem_OldbutworkswithRTOS PinDetect

Files at this revision

API Documentation at this revision

Comitter:
mkim613
Date:
Sun Nov 29 19:06:16 2020 +0000
Parent:
8:32a0bb14dbd2
Commit message:
removed unused threads

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 32a0bb14dbd2 -r fbf87719b8b3 main.cpp
--- a/main.cpp	Sun Nov 29 19:05:37 2020 +0000
+++ b/main.cpp	Sun Nov 29 19:06:16 2020 +0000
@@ -851,7 +851,7 @@
                 draw_enable = true;
                 if(y1 == 110) {
                     if (joy.yAxis() > 0.05 || joy.yAxis() < -0.05) {
-                        greenPress = true; //joy > .55 || joy < .45
+                        greenPress = true;
                     }
                 }
                 break;