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
Diff: Application/AppColorPicker.cpp
- Revision:
- 8:19a6b70d42b1
- Parent:
- 3:3fabfe3339b8
- Child:
- 11:265884fa7fdd
--- a/Application/AppColorPicker.cpp Thu Jan 08 19:28:22 2015 +0100 +++ b/Application/AppColorPicker.cpp Sat Jan 17 14:07:25 2015 +0100 @@ -119,10 +119,13 @@ // Wait for touches TouchPanel* touch = DMBoard::instance().touchPanel(); - TouchPanel::touchCoordinate_t coord; + touch_coordinate_t coord; char buf[10]; swim_set_pen_color(_win, BLACK); 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 && coord.x >= _colorwin->xpmin && coord.x <= _colorwin->xpmax &&