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_Touch.cpp
- Revision:
- 183:808f272e481e
- Parent:
- 181:0032d1b8f5d4
- Child:
- 184:464cc376265d
diff -r 8832d03a2a29 -r 808f272e481e RA8875_Touch.cpp --- a/RA8875_Touch.cpp Sat Aug 03 00:26:33 2019 +0000 +++ b/RA8875_Touch.cpp Thu Aug 08 11:29:48 2019 +0000 @@ -105,7 +105,7 @@ // Construct the config byte for TPCR0 and write them WriteCommand(TPCR0, bTpEnable | bTpAdcClkDiv | bTpAdcSampleTime); // Note: Wakeup is never enabled // Construct the config byte for TPCR1 and write them - WriteCommand(TPCR1, bTpManualMode | bTpDebounce | bTpManualMode); // Note: Always uses internal Vref. + WriteCommand(TPCR1, bTpDebounce | bTpManualMode); // Note: Always uses internal Vref. // Set up the interrupt flag and enable bits WriteCommand(INTC1, ReadCommand(INTC1) | RA8875_INT_TP); // reg INTC1: Enable Touch Panel Interrupts (D2 = 1) WriteCommand(INTC2, RA8875_INT_TP); // reg INTC2: Clear any TP interrupt flag