Multithreading program for 4180. LCD screen control, sound+SD card loading, LED control

Dependencies:   4DGL-uLCD-SE SDFileSystem ShiftBrite mbed-rtos mbed wave_player

Fork of RTOS_threading by James Plager

Files at this revision

API Documentation at this revision

Comitter:
jplager3
Date:
Wed Mar 15 03:17:10 2017 +0000
Parent:
13:72e2a45b7847
Commit message:
Updated working Threading program

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 72e2a45b7847 -r 601b2c586bff main.cpp
--- a/main.cpp	Mon Feb 27 06:31:12 2017 +0000
+++ b/main.cpp	Wed Mar 15 03:17:10 2017 +0000
@@ -129,6 +129,7 @@
         led3=0;
         led4=1;
         if (BT.getc()=='!') {
+            //mutex.lock();
             if (BT.getc()=='B') { //button data
                 bnum = BT.getc(); //button number
                 mutex.unlock();