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:
8:19a6b70d42b1
Parent:
4:a73760d09423
Child:
17:6e2abf107800
--- a/Application/AppTouchCalibration.cpp	Thu Jan 08 19:28:22 2015 +0100
+++ b/Application/AppTouchCalibration.cpp	Sat Jan 17 14:07:25 2015 +0100
@@ -185,8 +185,12 @@
     
     // Allow user to draw. Exit by pressing button
     swim_set_pen_color(_win, BLACK);
-    TouchPanel::touchCoordinate_t coord;
+    touch_coordinate_t coord;
     while(!done) {
+      // wait for a new touch signal (signal is sent from AppLauncher,
+      // which listens for touch events)
+      Thread::signal_wait(0x1);
+        
       if (_touch->read(coord) == TouchPanel::TouchError_Ok) {
         if (coord.z > 0) {
             //swim_put_pixel(_win, coord.x, coord.y);