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:
- 155:b3f225ae572c
- Parent:
- 154:ad2450fc3dc3
- Child:
- 156:4bdb2772128d
--- a/RA8875.h Fri Aug 17 01:29:06 2018 +0000 +++ b/RA8875.h Tue Nov 13 01:33:41 2018 +0000 @@ -1006,10 +1006,10 @@ /// 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. + /// touch_cal_timeout. Default: 30 s. /// @returns success/failure code. See @ref RetCode_t. /// - RetCode_t TouchPanelCalibrate(const char * msg, tpMatrix_t * matrix = NULL, int maxwait_s = 15); + RetCode_t TouchPanelCalibrate(const char * msg, tpMatrix_t * matrix = NULL, int maxwait_s = 30); /// Set the calibration matrix for the touch panel. @@ -2791,6 +2791,10 @@ touchInfo_T touchInfo[5]; /// Contains the actual touch information in an array from 0 to n-1 + #if MBED_VERSION >= MBED_ENCODE_VERSION(5,8,0) + Thread eventThread; + EventQueue queue; + #endif InterruptIn * m_irq; I2C * m_i2c; int m_addr;