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 RA8875_Demo ... 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.

Committer:
WiredHome
Date:
Sun Mar 24 14:49:49 2019 +0000
Revision:
176:4ab96d33a8ec
Parent:
152:a013ac0133e4
Correct a defect recently introduced, where the resistive touch screen failed to have memory allocated to hold the touch information.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WiredHome 152:a013ac0133e4 1
WiredHome 152:a013ac0133e4 2 #ifndef GRAPHICSDISPLAYGIF_H
WiredHome 152:a013ac0133e4 3 #define GRAPHICSDISPLAYGIF_H
WiredHome 152:a013ac0133e4 4
WiredHome 152:a013ac0133e4 5 typedef struct {
WiredHome 152:a013ac0133e4 6 uint16_t image_left_position;
WiredHome 152:a013ac0133e4 7 uint16_t image_top_position;
WiredHome 152:a013ac0133e4 8 uint16_t image_width;
WiredHome 152:a013ac0133e4 9 uint16_t image_height;
WiredHome 152:a013ac0133e4 10 uint8_t fields;
WiredHome 152:a013ac0133e4 11 } gif_image_descriptor_t;
WiredHome 152:a013ac0133e4 12 const uint16_t gif_image_descriptor_size = 9;
WiredHome 152:a013ac0133e4 13
WiredHome 152:a013ac0133e4 14 typedef struct {
WiredHome 152:a013ac0133e4 15 uint16_t width;
WiredHome 152:a013ac0133e4 16 uint16_t height;
WiredHome 152:a013ac0133e4 17 uint8_t fields;
WiredHome 152:a013ac0133e4 18 uint8_t background_color_index;
WiredHome 152:a013ac0133e4 19 uint8_t pixel_aspect_ratio;
WiredHome 152:a013ac0133e4 20 } gif_screen_descriptor_t;
WiredHome 152:a013ac0133e4 21 const uint16_t gif_screen_descriptor_size = 7;
WiredHome 152:a013ac0133e4 22
WiredHome 152:a013ac0133e4 23 #endif // GRAPHICSDISPLAYGIF_H