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:
- 62:ba5d33438fda
- Parent:
- 61:8f3153bf0baa
- Child:
- 66:468a11f05580
--- a/RA8875.h Sun Aug 17 13:46:06 2014 +0000 +++ b/RA8875.h Sun Aug 17 15:38:51 2014 +0000 @@ -12,7 +12,7 @@ // What better place for some test code than in here and the companion // .cpp file. See also the bottom of this file. -#define TESTENABLE +//#define TESTENABLE /// DOS colors - slightly color enhanced #define Black (color_t)(RGB(0,0,0)) @@ -24,23 +24,23 @@ #define Brown (color_t)(RGB(187,187,0)) #define Gray (color_t)(RGB(187,187,187)) #define Charcoal (color_t)(RGB(85,85,85)) -#define BrightBlue (color_t)(RGB(85,85,255)) -#define BrightGreen (color_t)(RGB(85,255,85)) -#define BrightCyan (color_t)(RGB(85,255,255)) +#define BrightBlue (color_t)(RGB(0,0,255)) +#define BrightGreen (color_t)(RGB(0,255,0)) +#define BrightCyan (color_t)(RGB(0,255,255)) +#define BrightRed (color_t)(RGB(255,0,0)) #define Orange (color_t)(RGB(255,85,85)) #define Pink (color_t)(RGB(255,85,255)) #define Yellow (color_t)(RGB(255,255,85)) #define White (color_t)(RGB(255,255,255)) -#define DarkBlue (color_t)(RGB(0,0,64)) -#define DarkGreen (color_t)(RGB(0,64,0)) -#define DarkCyan (color_t)(RGB(0,64,64)) -#define DarkRed (color_t)(RGB(64,0,0)) -#define DarkMagenta (color_t)(RGB(64,0,64)) -#define DarkBrown (color_t)(RGB(64,64,0)) -#define DarkGray (color_t)(RGB(64,64,64)) +#define DarkBlue (color_t)(RGB(0,0,63)) +#define DarkGreen (color_t)(RGB(0,63,0)) +#define DarkCyan (color_t)(RGB(0,63,63)) +#define DarkRed (color_t)(RGB(63,0,0)) +#define DarkMagenta (color_t)(RGB(63,0,63)) +#define DarkBrown (color_t)(RGB(63,63,0)) +#define DarkGray (color_t)(RGB(63,63,63)) -#define BrightRed (color_t)(RGB(255,0,0)) //namespace SW_graphics //{