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 RA8875_Demo ... 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
197:853d08e2fb53 3 months ago General code cleanup. File  Diff  Annotate
196:56820026701b 3 months ago Added puts w/point_t parameter. File  Diff  Annotate
195:17e176dbd6eb 3 months ago Working on orientation. File  Diff  Annotate
193:74f80834d59d 6 months ago Improve debouncing of resistive touch.; Minor format changes for easier maintenance. File  Diff  Annotate
191:0fad2e45e196 7 months ago Added a method to get the screen orientation. File  Diff  Annotate
190:3132b7dfad82 8 months ago 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 9 months ago Correct a defect in SetTextFontControl, and update BrightYellow. File  Diff  Annotate
185:cb7591a43f44 9 months ago Add BrightYellow color macro File  Diff  Annotate
182:8832d03a2a29 10 months ago code cleanup; doc cleanup File  Diff  Annotate
181:0032d1b8f5d4 10 months ago A bit of experimenting on rotation. File  Diff  Annotate
178:ae472eb22740 10 months ago 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 10 months ago A little bit of work on GIF, and disable some debug printf's. File  Diff  Annotate
174:7810bc76987a 15 months ago Documentation change on idle callback method File  Diff  Annotate
172:7abb03bf31be 16 months ago Non-functional refactoring File  Diff  Annotate
167:8aa3fb2a5a31 15 months ago Documentation update to the script in the Fonts/FontMods.h file to improve the understanding of what it does. File  Diff  Annotate
166:53fd4a876dac 15 months ago Some refactoring, but mostly to improve support for GSL1680 controller to extract the touch id. File  Diff  Annotate
165:695c24cc5197 15 months ago Initial refactoring to add support for another Cap Sense touch controller - based on the GSL1680. File  Diff  Annotate
164:76edd7d9cb68 15 months ago PrintScreen - 24-bit or 8-bit BMP format support. Improved documentation to the palette and the performance factors. File  Diff  Annotate
163:17526689a3ed 15 months ago Add ability to PrintScreen as an 8-bit bitmap, as an alternate to the default of 24-bit. File  Diff  Annotate
162:a2d7f1988711 16 months ago PrintScreen - bug fixes in header info and symmetry of RGB16toRGBQuad and RGBQuadToRGB16 File  Diff  Annotate
157:1565f38ca44b 17 months ago 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 18 months ago Add a macro for backward compatibility File  Diff  Annotate
155:b3f225ae572c 19 months ago use eventThread for newer OS5 in place of callbacks.; touch-cal timeout increased to 30s from 15. File  Diff  Annotate
154:ad2450fc3dc3 21 months ago Documentation updates for using resistive touch. File  Diff  Annotate
153:8a85efb3eb71 22 months ago 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
100:0b084475d5a9 2015-12-19 Corrected a defect where the portrait mode might be incorrectly inferred - then limits many commands to partial screen.; Remove set_font(). Use SelectUserFont() instead.; Removed unnecessary code in several places (redundant work). File  Diff  Annotate
99:66edf771373a 2015-12-17 Disable the "TestEnable" and republish. File  Diff  Annotate
98:ecebed9b80b2 2015-12-17 Significant changes to the support for Soft Fonts (User defined fonts), to directly leverage the output of the GLCD Font Creator tool and require nearly zero manual changes. This deprecates the old API setfont in favor of SelectUserFont. File  Diff  Annotate
96:40b74dd3695b 2015-11-28 Changes for the print screen function to use callbacks. File  Diff  Annotate
90:d113d71ae4f0 2015-01-28 persist screen width/height in the private data so that it does not have the burn the cycles to query the hardware on every need. File  Diff  Annotate