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 Peter Drescher

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)

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Sun Mar 29 18:12:24 2020 +0000
Parent:
200:ae29b60d087c
Child:
202:a22cbc04f332
Commit message:
Correct a defect in JPEG Rendering that came in when window() changed to SetWindow();

Changed in this revision

GraphicsDisplayJPEG.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/GraphicsDisplayJPEG.cpp	Sun Mar 29 14:33:19 2020 +0000
+++ b/GraphicsDisplayJPEG.cpp	Sun Mar 29 18:12:24 2020 +0000
@@ -854,7 +854,7 @@
     } while (--pCount);
     #endif
     //
-    rect_t oldWin = SetWindow(x0+img_x, y0+img_y, x0 + img_x + w, y0 + img_y + y1 - y0 + 2);
+    rect_t oldWin = SetWindow(x0+img_x, y0+img_y, x0 + img_x + w - 1, y0 + img_y + y1 - y0 );
     uint16_t *src = (uint16_t *)bitmap;     // pointer to RGB565 format
     pixelStream(src, pixelCount, x0+img_x, y0+img_y);
     SetWindow(oldWin);