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: DisplayDefs.h
- Revision:
- 198:9b6851107426
- Parent:
- 197:853d08e2fb53
--- a/DisplayDefs.h Tue Feb 11 21:51:42 2020 +0000 +++ b/DisplayDefs.h Sat Mar 28 15:01:38 2020 +0000 @@ -52,6 +52,18 @@ no_cal, ///< no calibration matrix is available } TouchCode_t; +/// display orientation argument for @ref RA8875::SetGraphicsOrientation(), @ref RA8875::GetGraphicsOrientation() +/// with landscape mode as the normal (0 degree) orientation. +typedef enum +{ + normal, ///< normal (landscape) orientation + rotate_0 = normal, ///< alternate to 'normal' + rotate_90, ///< rotated clockwise 90 degree + rotate_180, ///< rotated (clockwise) 180 degree + rotate_270, ///< rotated clockwise 270 degree + invalid, ///< an invalid angle was detected +} orientation_t; + /// Data type that manages locations, which is typically an x or y pixel location, /// which can range from -N to +N (even as the screen is always defined in the /// range of 0 to +n). See also @ref textloc_t.