My controller identifies as an ILI9328, but only works if initialised as an ILI9325. This fork includes a fix to force 9325 initialization when a 9328 is detected.
Dependents: TouchScreenCalibrate TouchScreenGUIDemo
Fork of UniGraphic by
Diff: Graphics/GraphicsDisplay.h
- Revision:
- 32:f5f3df66420e
- Parent:
- 22:f9a37f22b9cb
--- a/Graphics/GraphicsDisplay.h Sat Mar 19 15:36:19 2016 +0000 +++ b/Graphics/GraphicsDisplay.h Mon Mar 28 10:48:45 2016 +0000 @@ -229,6 +229,12 @@ * tft.Bitmap(10,40,309,50,(unsigned char *)scala); */ void Bitmap(int x, int y, int w, int h,unsigned char *bitmap); + + /** + * Displays the bitmap using the foreground colour for all non-zero pixels, + * and the background colour for all the zeros + **/ + void Bitmap_FG_BG(int x, int y, int w, int h,unsigned char *bitmap); /** paint monochrome bitmap to screen *