A basic graphics package for the LPC4088 Display Module.

Dependents:   lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI lpc4088_displaymodule_fs_aid ... more

Fork of DMBasicGUI by EmbeddedArtists AB

Revision:
21:0038059e3a8f
Parent:
17:6e2abf107800
--- a/Application/AppColorPicker.cpp	Mon Mar 23 14:28:07 2015 +0100
+++ b/Application/AppColorPicker.cpp	Wed Oct 23 06:59:53 2019 +0000
@@ -139,7 +139,7 @@
     while(!done) {
       // wait for a new touch signal (signal is sent from AppLauncher,
       // which listens for touch events)
-      Thread::signal_wait(0x1);
+      ThisThread::flags_wait_any(0x1);
       if (touch->read(coord) == TouchPanel::TouchError_Ok) {
         if (coord.z > 0 &&
             coord.x >= _colorwin->xpmin && coord.x <= _colorwin->xpmax && 
@@ -161,7 +161,7 @@
               _disp->setFramebuffer(_fb2);
               _win->fb = _fb;
             }
-            Thread::wait(20);
+            ThisThread::sleep_for(20);
             showingFB2 = !showingFB2;
             lastColor = c;
           }