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: RA8875.h
- Revision:
- 88:bfddef6ec836
- Parent:
- 87:ee2240581aa7
- Child:
- 90:d113d71ae4f0
--- a/RA8875.h Mon Jan 19 13:32:56 2015 +0000 +++ b/RA8875.h Mon Jan 19 15:44:41 2015 +0000 @@ -638,9 +638,12 @@ /// @param[out] matrix is an optional parameter to hold the calibration matrix /// as a result of the calibration. This can be saved in /// non-volatile memory to recover the calibration after a power fail. + /// @param[in] maxwait_s is the maximum number of seconds to wait for a touch + /// calibration. If no touch panel installed, it then reports + /// touch_cal_timeout. /// @returns success/failure code. @see RetCode_t. /// - RetCode_t TouchPanelCalibrate(const char * msg, tpMatrix_t * matrix = NULL); + RetCode_t TouchPanelCalibrate(const char * msg, tpMatrix_t * matrix = NULL, int maxwait_s = 15); /// Set the calibration matrix for the touch panel. ///