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:
- 46:1321832f11d8
- Parent:
- 44:207594dece70
- Child:
- 47:d96a09269f91
diff -r 679c2fb8480c -r 1321832f11d8 RA8875.cpp --- a/RA8875.cpp Mon Mar 10 23:53:40 2014 +0000 +++ b/RA8875.cpp Thu Mar 13 17:24:45 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? + if (y >= height()) // @TODO after bottom of active window, then scroll window? #### hb changed test to include = to fix dropped line in vertical wrap. y = 0; WriteCommandW(0x2C, y); } else {