inital commit

Dependencies:   mbed wave_player mbed-rtos 4DGL-uLCD-SE SDFileSystem2 PinDetect MMA8452

Revision:
10:5bd6abd66d12
Parent:
9:08886cc06a5d
Child:
11:1a47726ac72a
--- a/main.cpp	Sun Dec 12 23:11:48 2021 +0000
+++ b/main.cpp	Sun Dec 12 23:31:10 2021 +0000
@@ -170,7 +170,7 @@
         if(!menu1)
         {
         playing=true;
-        play=true;
+        play=!playing;
         }
         Speaker.unlock();
 }
@@ -188,7 +188,7 @@
         if(!menu1)
         {
         playing=true;
-        play=true;
+        play=!playing;
         }
         Speaker.unlock();
 }