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

Files at this revision

API Documentation at this revision

Comitter:
embeddedartists
Date:
Thu Feb 19 14:37:29 2015 +0100
Parent:
11:265884fa7fdd
Child:
13:bff2288c2c61
Commit message:
- Corrected button pin name (wrong after switching to LPC4088_DM as target
- Corrected color shift in SlideShow

Changed in this revision

Application/AppLauncher.cpp Show annotated file Show diff for this revision Revisions of this file
SlideShow/SlideShow.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Application/AppLauncher.cpp	Tue Feb 17 10:34:13 2015 +0100
+++ b/Application/AppLauncher.cpp	Thu Feb 19 14:37:29 2015 +0100
@@ -147,7 +147,7 @@
     // To keep track of the button pushes
     bool buttonPressed = false;
     bool buttonTimeout = false;
-    InterruptIn button(p23);
+    InterruptIn button(P2_10);
     button.rise(this, &AppLauncher::onButtonEvent);
     button.fall(this, &AppLauncher::onButtonEvent);
     RtosTimer  buttonTimer(onTimeoutEvent, osTimerOnce, &buttonTimeout);
--- a/SlideShow/SlideShow.cpp	Tue Feb 17 10:34:13 2015 +0100
+++ b/SlideShow/SlideShow.cpp	Thu Feb 19 14:37:29 2015 +0100
@@ -13,7 +13,7 @@
 
 /* Helper macros for the Fade transition */
 #define FADE_XRED(__in)   (((__in)>>11)&0x1f)
-#define FADE_XGREEN(__in) (((__in)>>6)&0x3f)
+#define FADE_XGREEN(__in) (((__in)>>5)&0x3f)
 #define FADE_XBLUE(__in)  ((__in)&0x1f)
 #define FADE_COMBINE(__old, __new, __mul) \
         ( ((((FADE_XRED(__old)*(8-(__mul)))+(FADE_XRED(__new)*(__mul)))>>3)<<11) \