Library to control a Graphics TFT connected to 4-wire SPI - revised for the Raio RA8875 Display Controller.
Dependents: FRDM_RA8875_mPaint RA8875_Demo RA8875_KeyPadDemo SignalGenerator ... more
Fork of SPI_TFT by
See Components - RA8875 Based Display
Enhanced touch-screen support - where it previous supported both the Resistive Touch and Capacitive Touch based on the FT5206 Touch Controller, now it also has support for the GSL1680 Touch Controller.
Offline Help Manual (Windows chm)
/media/uploads/WiredHome/ra8875.zip.bin (download, rename to .zip and unzip)
Diff: GraphicsDisplayJPEG.cpp
- Revision:
- 198:9b6851107426
- Parent:
- 197:853d08e2fb53
- Child:
- 201:0b25d24d9bda
diff -r 853d08e2fb53 -r 9b6851107426 GraphicsDisplayJPEG.cpp --- a/GraphicsDisplayJPEG.cpp Tue Feb 11 21:51:42 2020 +0000 +++ b/GraphicsDisplayJPEG.cpp Sat Mar 28 15:01:38 2020 +0000 @@ -854,10 +854,10 @@ } while (--pCount); #endif // - window(x0+img_x, y0+img_y, w, y1 - y0 + 2); + rect_t oldWin = SetWindow(x0+img_x, y0+img_y, x0 + img_x + w, y0 + img_y + y1 - y0 + 2); uint16_t *src = (uint16_t *)bitmap; // pointer to RGB565 format pixelStream(src, pixelCount, x0+img_x, y0+img_y); - window(); + SetWindow(oldWin); #else for (int y= y0; y <= y1; y++) { SetGraphicsCursor(x0+img_x, y+img_y);