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: GraphicsDisplay.cpp
- Revision:
- 113:843888f7785b
- Parent:
- 112:325ca91bc03d
diff -r 325ca91bc03d -r 843888f7785b GraphicsDisplay.cpp --- a/GraphicsDisplay.cpp Wed Apr 27 01:29:55 2016 +0000 +++ b/GraphicsDisplay.cpp Wed Apr 27 10:56:30 2016 +0000 @@ -347,7 +347,7 @@ if (BPP_t == 1) { uint8_t dPix = lineBuffer[i/8]; uint8_t bMask = 0x80 >> (i % 8); - uint8_t bit = (bMask & dPix) ? 0 : 1; + uint8_t bit = (bMask & dPix) ? 1 : 0; //INFO("%02X & %02X ? => %02X", dPix, bMask, bit); pixelBuffer[i] = RGBQuadToRGB16(colorPalette, bit); } else if (BPP_t == 4) {