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)

Revisions of RA8875.h

Revision Date Message Actions
203:704df2dbd3e6 2020-05-17 Fix coordinate translation for touch events.; Minor code cleanup. File  Diff  Annotate
202:a22cbc04f332 2020-04-30 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.; File  Diff  Annotate
200:ae29b60d087c 2020-03-29 Correct issue with the reset pin control File  Diff  Annotate
199:fb06805f447f 2020-03-28 Warning reduction File  Diff  Annotate
198:9b6851107426 2020-03-28 BREAKING Changes - ; This update alters several APIs, renames some, and generally simplifies. It also has great improvement for Portrait mode orientation. File  Diff  Annotate
197:853d08e2fb53 2020-02-11 General code cleanup. File  Diff  Annotate
196:56820026701b 2020-02-11 Added puts w/point_t parameter. File  Diff  Annotate
195:17e176dbd6eb 2020-02-11 Working on orientation. File  Diff  Annotate
193:74f80834d59d 2019-11-25 Improve debouncing of resistive touch.; Minor format changes for easier maintenance. File  Diff  Annotate
191:0fad2e45e196 2019-10-11 Added a method to get the screen orientation. File  Diff  Annotate
190:3132b7dfad82 2019-09-21 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 File  Diff  Annotate
186:910fc2335c45 2019-08-28 Correct a defect in SetTextFontControl, and update BrightYellow. File  Diff  Annotate
185:cb7591a43f44 2019-08-26 Add BrightYellow color macro File  Diff  Annotate
182:8832d03a2a29 2019-08-03 code cleanup; doc cleanup File  Diff  Annotate
181:0032d1b8f5d4 2019-08-02 A bit of experimenting on rotation. File  Diff  Annotate
178:ae472eb22740 2019-07-28 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. File  Diff  Annotate
177:d8e65c0e268a 2019-07-17 A little bit of work on GIF, and disable some debug printf's. File  Diff  Annotate
174:7810bc76987a 2019-02-11 Documentation change on idle callback method File  Diff  Annotate
172:7abb03bf31be 2019-01-13 Non-functional refactoring File  Diff  Annotate
167:8aa3fb2a5a31 2019-02-26 Documentation update to the script in the Fonts/FontMods.h file to improve the understanding of what it does. File  Diff  Annotate
166:53fd4a876dac 2019-02-24 Some refactoring, but mostly to improve support for GSL1680 controller to extract the touch id. File  Diff  Annotate
165:695c24cc5197 2019-02-24 Initial refactoring to add support for another Cap Sense touch controller - based on the GSL1680. File  Diff  Annotate
164:76edd7d9cb68 2019-02-14 PrintScreen - 24-bit or 8-bit BMP format support. Improved documentation to the palette and the performance factors. File  Diff  Annotate
163:17526689a3ed 2019-02-13 Add ability to PrintScreen as an 8-bit bitmap, as an alternate to the default of 24-bit. File  Diff  Annotate
162:a2d7f1988711 2019-02-11 PrintScreen - bug fixes in header info and symmetry of RGB16toRGBQuad and RGBQuadToRGB16 File  Diff  Annotate
157:1565f38ca44b 2019-01-02 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. File  Diff  Annotate
156:4bdb2772128d 2018-11-19 Add a macro for backward compatibility File  Diff  Annotate
155:b3f225ae572c 2018-11-13 use eventThread for newer OS5 in place of callbacks.; touch-cal timeout increased to 30s from 15. File  Diff  Annotate
154:ad2450fc3dc3 2018-08-17 Documentation updates for using resistive touch. File  Diff  Annotate
153:8a85efb3eb71 2018-07-29 Soft Fonts and very preliminary GIF support. File  Diff  Annotate
152:a013ac0133e4 2017-11-06 Initial support for GIF rendering File  Diff  Annotate
151:ae94daaaf8ad 2018-04-14 Add support for scaling soft fonts, using the SetTextFontSize api. File  Diff  Annotate
149:c62c4b2d6a15 2017-08-06 Revised the idle callback. It is additionally called from PrintScreen to communicate percent complete (with an additional parameter), since PrintScreen can take a while to finish based on the display size, layers, and SPI configuration. File  Diff  Annotate
147:3494792458d9 2017-06-12 Improved the Intersect(rect_t, rect_t) to look for any intersection, and added an Intersect(rect_t *, rect_t *) which will identify and make available a new rect_t which is the intersection (if any). File  Diff  Annotate
144:ba002c4b21b3 2017-05-06 Added ThickLine API File  Diff  Annotate
143:e872d65a710d 2017-03-19 unbreaking change to SelectDrawingLayer to get the return value as an optional parameter. File  Diff  Annotate
142:6e9bff59878a 2017-03-19 Breaking change on SelectDrawingLayer command, which now returns the previous layer (making it far easier to restore layers). File  Diff  Annotate
140:33ca352755a2 2016-12-27 Merge block move changes from two branches File  Diff  Annotate
139:99ec74e3273f 2016-12-27 Minor fix to the block move File  Diff  Annotate
138:61e93bed397e 2016-08-13 Added example code for BlockMove in the API. File  Diff  Annotate
137:9e09f6081ef1 2016-12-08 Correct a defect in BlockMove File  Diff  Annotate
136:224e03d5c31f 2016-11-16 JPG Rendering can now write to display in 8-bit color format, not just 16-bit color format. File  Diff  Annotate
133:e36dcfc2d756 2016-10-17 Revised how it sets the foreground and background color to correct a defect when in 8-bit mode. File  Diff  Annotate
132:a5d7a8541683 2016-09-04 Documentation changes only - correction to resolution, color depth, and layer support, and updated to the gesture support return values. File  Diff  Annotate
131:5bd6ba2ee4a1 2016-08-12 Added API for BlockMove, and a minor revision to the init to accept a backlight setting directly. File  Diff  Annotate
127:db7f2c704693 2016-08-06 Added GetUserFont and GetTextFontSize apis, which were helpful for saving and restoring settings on the fly. File  Diff  Annotate
125:7a0b70f56550 2016-08-01 Minor documentation tweaks File  Diff  Annotate
124:1690a7ae871c 2016-07-31 Incorporated the Capacitive touch panel APIs in to the base RA8875 driver in a manner that integrated smoothly with the Resistive touch driver. File  Diff  Annotate
123:2f45e80fec5f 2016-07-25 Added idle callback - when the RA8875 driver is stuck waiting on the HW, or on a long timeout, it can call an optional callback. This could be used for maintaining the Watchdog, or other activities. File  Diff  Annotate
114:dbfb996bfbf3 2016-05-15 Minor doc changes, and enable the GraphicsDisplay::window( ) to have no parameters to reset the screen size to full. File  Diff  Annotate
111:efe436c43aba 2016-04-25 Soft fonts are now restricted by the window( ) setting, just as hard fonts were. Wraps right edge back to left and cycles from bottom edge back to top. File  Diff  Annotate
110:39f22e0c8de4 2016-03-19 Correct a few typedefs and streamline the soft font rendering. File  Diff  Annotate
109:7b94f06f085b 2016-03-05 Updated some data types to more consistently use loc_t and dim_t. File  Diff  Annotate
108:7415c405ee08 2016-03-14 corrected a buffer overrun in the InsertionSort function of RA8875_Touch.cpp. Thanks to Michael Dinning for reporting it. File  Diff  Annotate
107:f9ccffcb84f1 2016-03-05 Added rounded rectangle apis that accept rect_t instead of discreet x1,y1,x2,y2 values. File  Diff  Annotate
106:c80828f5dea4 2016-02-27 Improved support for 8-bit color, for pixel drawing, RenderImageFile and PrintScreen. File  Diff  Annotate
105:4f116006ba1f 2016-02-27 Improved 8-bit color support, which permits dual-layer at higher resolutions. File  Diff  Annotate
103:7e0464ca6c5c 2016-02-07 Added missing APIs for Get/SetTextCursor using point_t.; Fixed a defect in touch; if no point was requested, just polling for touch-state, it would return the no calibration value during a touch. File  Diff  Annotate
102:fc60bfa0199f 2016-01-23 Small change to the color and the on-screen sample. File  Diff  Annotate
101:e0aad446094a 2016-01-17 External fonts now wrap correctly at the edge of the screen (right edge by moving down one line and to the left margin, and last row by wrapping to the top row. File  Diff  Annotate