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
Diff: main.cpp
- Revision:
- 14:601b2c586bff
- Parent:
- 13:72e2a45b7847
--- 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();