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 Peter Drescher

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)

Committer:
WiredHome
Date:
Mon Jan 20 19:19:48 2014 +0000
Revision:
31:c72e12cd5c67
Child:
32:0e4f2ae512e2
Support for Bitmap graphics (tested 4-bit and 8-bit formats, have not tested 1-bit or 24-bit).

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WiredHome 31:c72e12cd5c67 1 #ifndef DISPLAYDEFS_H
WiredHome 31:c72e12cd5c67 2 #define DISPLAYDEFS_H
WiredHome 31:c72e12cd5c67 3
WiredHome 31:c72e12cd5c67 4 typedef uint16_t color_t;
WiredHome 31:c72e12cd5c67 5
WiredHome 31:c72e12cd5c67 6 /// return values from functions
WiredHome 31:c72e12cd5c67 7 typedef enum
WiredHome 31:c72e12cd5c67 8 {
WiredHome 31:c72e12cd5c67 9 noerror, ///< no errors, command completed successfully
WiredHome 31:c72e12cd5c67 10 bad_parameter, ///< one or more parameters are invalid
WiredHome 31:c72e12cd5c67 11 file_not_found, ///< specified file could not be found
WiredHome 31:c72e12cd5c67 12 not_bmp_format, ///< file is a not bmp file
WiredHome 31:c72e12cd5c67 13 not_supported_format, ///< file format is not yet supported
WiredHome 31:c72e12cd5c67 14 image_too_big, ///< image is too large for the screen
WiredHome 31:c72e12cd5c67 15 not_enough_ram, ///< could not allocate ram for scanline
WiredHome 31:c72e12cd5c67 16 } RetCode_t;
WiredHome 31:c72e12cd5c67 17
WiredHome 31:c72e12cd5c67 18 #endif // DISPLAYDEFS_H