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)

Changes

RevisionDateWhoCommit message
209:08fc22dea762 2021-04-04 WiredHome Fix a long-standing defect in the FT5206 where it reported 'touch' code even for hold and release events. default tip
208:c610b031388d 2021-04-04 WiredHome Comment out a runtime disabled block of code - was using if (0 && ...)
207:82f336e5c021 2021-04-04 WiredHome Minor change in a callback API to align to OS5 compiler technology.
206:83edda283d90 2020-05-25 WiredHome Pick up a change in the touch ISR to pick up the final release.
205:f215dc32736b 2020-05-23 WiredHome Defect correction - disable irq while configuring the FT5206 and GSL1680 touch controllers to avoid unexpected ISRs.
204:48e05a27de25 2020-05-21 WiredHome Restrict SetWindow to fit the screen
203:704df2dbd3e6 2020-05-17 WiredHome Fix coordinate translation for touch events.; Minor code cleanup.
202:a22cbc04f332 2020-04-30 WiredHome Private max,min macros; avoid collision with other libs.; Correct jpg rendering defect; window() to SetWindow().; Coordinate translation for touch with orientation.; Added method; get rendered rect_t for string.; Fix for the reset pin option.;
201:0b25d24d9bda 2020-03-29 WiredHome Correct a defect in JPEG Rendering that came in when window() changed to SetWindow();
200:ae29b60d087c 2020-03-29 WiredHome Correct issue with the reset pin control
199:fb06805f447f 2020-03-28 WiredHome Warning reduction
198:9b6851107426 2020-03-28 WiredHome BREAKING Changes - ; This update alters several APIs, renames some, and generally simplifies. It also has great improvement for Portrait mode orientation.
197:853d08e2fb53 2020-02-11 WiredHome General code cleanup.
196:56820026701b 2020-02-11 WiredHome Added puts w/point_t parameter.
195:17e176dbd6eb 2020-02-11 WiredHome Working on orientation.
194:53c18f0e7922 2020-02-11 WiredHome Don't alter the Memory write direction when changing between text and graphics modes.
193:74f80834d59d 2019-11-25 WiredHome Improve debouncing of resistive touch.; Minor format changes for easier maintenance.
192:cc14d391b412 2019-10-18 WiredHome Updates to startup to avoid reading the FPGA ver. too soon. Had to do a lazy-load of that piece while the about screen is active.
191:0fad2e45e196 2019-10-11 WiredHome Added a method to get the screen orientation.
190:3132b7dfad82 2019-09-21 WiredHome Fonts Add & mods; Add methods; - get dimensions of image file; - round or square cap for thicklines; - word-wrap for puts; - align one rect to another; - independently set the text font fill; - get the width of a character, or a string
189:53a64d3ce163 2019-09-19 WiredHome Added a fixed-width version of the 08x08 font.
188:a2ad266ba9db 2019-08-30 WiredHome Another minor tweak to the tiny font.
187:8e0e5cb24192 2019-08-30 WiredHome Tiny change to the small font to make it more legible.
186:910fc2335c45 2019-08-28 WiredHome Correct a defect in SetTextFontControl, and update BrightYellow.
185:cb7591a43f44 2019-08-26 WiredHome Add BrightYellow color macro
184:464cc376265d 2019-08-23 WiredHome Enable Touch translation based on screen orientation. It appears fully function with Cap Touch for 0, 180, but has known issues for 90 and 270.
183:808f272e481e 2019-08-08 WiredHome Minor code-cleanup
182:8832d03a2a29 2019-08-03 WiredHome code cleanup; doc cleanup
181:0032d1b8f5d4 2019-08-02 WiredHome A bit of experimenting on rotation.
180:d8abf2e70b88 2019-08-01 WiredHome Revert a change in the definition of point_t and rect_t back to a basic struct.
179:c7fb7a4fb42f 2019-07-28 WiredHome Added a couple of constructors
178:ae472eb22740 2019-07-28 WiredHome Install handler before enabling IRQ; Eliminate duplicate initialisations; Speedup ThickLine using rectangles and triangles; Add triangle method using points; Improve mbed version adaptation of callback; Added some debug info.
177:d8e65c0e268a 2019-07-17 WiredHome A little bit of work on GIF, and disable some debug printf's.
176:4ab96d33a8ec 2019-03-24 WiredHome Correct a defect recently introduced, where the resistive touch screen failed to have memory allocated to hold the touch information.
175:7be3a1fb7fc2 2019-03-15 WiredHome Non-functional change to WriteCommand() based on register names, rather than hex values.
174:7810bc76987a 2019-02-11 WiredHome Documentation change on idle callback method
173:ae8198c82b88 2019-01-29 WiredHome Minor change to the comments
172:7abb03bf31be 2019-01-13 WiredHome Non-functional refactoring
171:f92c0f1f6db4 2019-03-02 WiredHome Integrate support for alternate touch controller based on GSL1680 chip (found in some RA8875-based displays instead of the FT5206 chip).
170:7e26d51bc48b 2019-03-02 WiredHome Invert the logic in the GSL1680 ISR handler to check for the pin to be zero, not one.
169:1c1a495983bc 2019-03-01 WiredHome Additional debug and configuration for the GSL1680 Touch Controller.
168:37a0c4d8791c 2019-03-01 WiredHome Added debug aids to GSL1680 controller driver.
167:8aa3fb2a5a31 2019-02-26 WiredHome Documentation update to the script in the Fonts/FontMods.h file to improve the understanding of what it does.
166:53fd4a876dac 2019-02-24 WiredHome Some refactoring, but mostly to improve support for GSL1680 controller to extract the touch id.
165:695c24cc5197 2019-02-24 WiredHome Initial refactoring to add support for another Cap Sense touch controller - based on the GSL1680.
164:76edd7d9cb68 2019-02-14 WiredHome PrintScreen - 24-bit or 8-bit BMP format support. Improved documentation to the palette and the performance factors.
163:17526689a3ed 2019-02-13 WiredHome Add ability to PrintScreen as an 8-bit bitmap, as an alternate to the default of 24-bit.
162:a2d7f1988711 2019-02-11 WiredHome PrintScreen - bug fixes in header info and symmetry of RGB16toRGBQuad and RGBQuadToRGB16
161:0215d0eec1a4 2019-01-13 WiredHome Readjusted font parameters - ; <space> width is 1/4 the character height,; '0' - '9' by default as sized to the width of the widest digit.; command line can still override digit width.
160:43f3d90fc491 2019-01-12 WiredHome Fix a typo
159:dee976689d08 2019-01-12 WiredHome Added the Perl script in the font folder that is used to modify the font files.
158:b656dcf02e14 2019-01-12 WiredHome Modified the sample fonts to fix the width of <space> and '0' - '9'.
157:1565f38ca44b 2019-01-02 WiredHome Improvement to resistive touch to simplify startup.; Init default for the backlight to be dimmer, since many users power it only from their PC, which isn't capable of full backlight power.
156:4bdb2772128d 2018-11-19 WiredHome Add a macro for backward compatibility
155:b3f225ae572c 2018-11-13 WiredHome use eventThread for newer OS5 in place of callbacks.; touch-cal timeout increased to 30s from 15.
154:ad2450fc3dc3 2018-08-17 WiredHome Documentation updates for using resistive touch.
153:8a85efb3eb71 2018-07-29 WiredHome Soft Fonts and very preliminary GIF support.
152:a013ac0133e4 2017-11-06 WiredHome Initial support for GIF rendering
151:ae94daaaf8ad 2018-04-14 WiredHome Add support for scaling soft fonts, using the SetTextFontSize api.
150:35a4db3081c1 2017-09-24 WiredHome callback functions is conditional on mbed version. Somewhere below 128 it does not use the extra callback api.