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:
10:651861441108
Parent:
6:7917b0894655
Child:
17:6e2abf107800
--- a/Application/Image.cpp	Tue Jan 20 09:05:30 2015 +0100
+++ b/Application/Image.cpp	Mon Jan 26 10:06:58 2015 +0100
@@ -64,11 +64,11 @@
     case PNG:
     {
       unsigned char* pTmp;
-      unsigned error = lodepng_decode24(&pTmp, &pDataOut->width, &pDataOut->height, pDataIn, sizeIn);
+      unsigned error = lodepng_decode24(&pTmp, (unsigned*)&pDataOut->width, (unsigned*)&pDataOut->height, pDataIn, sizeIn);
       pDataOut->res = resolution;
       if (error == 0)
       {
-        int x, y;
+        uint32_t x, y;
         uint8_t r;
         uint8_t g;
         uint8_t b;