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.cpp
- Revision:
- 47:d96a09269f91
- Parent:
- 46:1321832f11d8
- Child:
- 49:c5182231d1b9
--- a/RA8875.cpp Thu Mar 13 17:24:45 2014 +0000 +++ b/RA8875.cpp Thu Mar 13 22:56:32 2014 +0000 @@ -461,7 +461,7 @@ loc_t y; y = ReadCommand(0x2C) | (ReadCommand(0x2D) << 8); // current y location y += fontheight(); - if (y >= height()) // @TODO after bottom of active window, then scroll window? #### hb changed test to include = to fix dropped line in vertical wrap. + if (y >= height()) // @TODO after bottom of active window, then scroll window? y = 0; WriteCommandW(0x2C, y); } else {