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: Display/TFT932x.h
- Revision:
- 34:091b954c3205
- Parent:
- 30:87855d03d91a
diff -r 5743f9c16aa2 -r 091b954c3205 Display/TFT932x.h --- a/Display/TFT932x.h Mon Apr 11 16:54:35 2016 +0000 +++ b/Display/TFT932x.h Sun Jun 21 15:23:02 2020 +0100 @@ -26,6 +26,9 @@ * @param name The name used by the parent class to access the interface */ TFT932x(proto_t displayproto, PortName port, PinName CS, PinName reset, PinName DC, PinName WR, PinName RD, const int lcdsize_x, const int lcdsize_y, const char* name); + + /** Create interface for MINI-STM32 board */ + TFT932x(const char* name); #endif /** Create TFT Parallel Bus interface @@ -38,7 +41,8 @@ * @param name The name used by the parent class to access the interface */ TFT932x(proto_t displayproto, int Hz, PinName mosi, PinName miso, PinName sclk, PinName CS, PinName reset, const int lcdsize_x, const int lcdsize_y, const char* name); - + + /////// functions that come for free, but can be overwritten/////////////////////////////////////////////////// /////// ----------------------------------------------------///////////////////////////////////////////////////