Testing 1 blue pill

Dependencies:   mbed mbed-rtos TextLCD

Revision:
19:384642f39496
Parent:
18:3523660f3930
Child:
20:c943b74eb3bd
--- a/main.cpp	Tue Feb 12 10:12:08 2019 +0000
+++ b/main.cpp	Tue Feb 12 11:28:07 2019 +0000
@@ -117,9 +117,12 @@
     start_stop_thread.start(start_stop_thread_function);//Start / stop interface thread
     function_thread.start(Function_Selection_thread_function);//Function interface thread
     select_thread.start(Selection_thread_function);//Start interface thread
+    
+    osThreadSetPriority(osThreadGetId(), osPriorityHigh);
+    
     while(1)// Main code in a main thread
     {
         INTERFACE.Interface_main();//Run main thread code
-        //Thread::wait(10);//Small delay to save CPU time  
+        Thread::wait(10);//Small delay to save CPU time  
     } 
 }