-
-
Notifications
You must be signed in to change notification settings - Fork 164
Display Class
moononournation edited this page Dec 25, 2022
·
15 revisions
- RST pin is optional (The display RST pin can simply connect to the dev board reset pin, input -1 in this case)
Arduino_GFX *gfx = new Arduino_GC9A01(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_GC9106(bus, TFT_RST, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_GC9107(bus, TFT_RST, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_HX8347C(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_HX8347D(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_HX8352C(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);
Currently only portrait works, i.e. rotation 0 and 2.
Arduino_GFX *gfx = new Arduino_HX8357A(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_HX8357B(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_HX8369A(bus, TFT_RST, 0 /* rotation */, false /* IPS */, 480, 800, 0, 7, 0, 57);
Arduino_GFX *gfx = new Arduino_ILI9225(
bus, 7 /* RST */);
Arduino_GFX *gfx = new Arduino_ILI9341(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */);
Arduino_GFX *gfx = new Arduino_ILI9342(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */);
Arduino_GFX *gfx = new Arduino_ILI9481(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */);
This display SPI interface not support 16-bit SPI. It require convert from 16-bit to 18-bit for every pixels so it is not very efficient.
Arduino_GFX *gfx = new Arduino_ILI9481_18bit(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */);
Arduino_GFX *gfx = new Arduino_ILI9486(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */);
This display SPI interface not support 16-bit SPI. It require convert from 16-bit to 18-bit for every pixels so it is not very efficient.
Arduino_GFX *gfx = new Arduino_ILI9486_18bit(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */);
Arduino_GFX *gfx = new Arduino_ILI9488(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */);
This display SPI interface not support 16-bit SPI. It require convert from 16-bit to 18-bit for every pixels so it is not very efficient.
Arduino_GFX *gfx = new Arduino_ILI9488_18bit(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */);
Arduino_DataBus *bus = new Arduino_ESP32S2PAR16Q(
35 /* DC */, 34 /* CS */, 16 /* WR */, 36 /* RD */);
// Arduino_GFX *gfx = new Arduino_ILI9806(
bus, 33 /* RST */, 0 /* rotation */, false /* IPS */);
Arduino_GFX *gfx = new Arduino_JBT6K71(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */,
240 /* width */, 320 /* height */,
0 /* col offset 1 */, 0 /* row offset 1 */,
16 /* col offset 2 */, 0 /* row offset 2 */);
Arduino_GFX *gfx = new Arduino_NT35310(bus, TFT_RST, 0 /* rotation */);
Arduino_DataBus *bus = new Arduino_ESP32S2PAR16Q(
35 /* DC */, 34 /* CS */, 16 /* WR */, 36 /* RD */);
Arduino_GFX *gfx = new Arduino_NT35510(
bus, 7 /* RST */, 0 /* rotation */);
Arduino_GFX *gfx = new Arduino_NT39125(
bus, 7 /* RST */, 2 /* rotation */, false /* IPS */,
240 /* width */, 376 /* height */,
0 /* col offset 1 */, 0 /* row offset 1 */,
0 /* col offset 2 */, 56 /* row offset 2 */);
Arduino_GFX *gfx = new Arduino_NV3041A(bus, TFT_RST, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_R61529(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_SEPS525(
bus, 7 /* RST */, 0 /* rotation */);
Arduino_GFX *gfx = new Arduino_SSD1283A(
bus, 7 /* RST */, 0 /* rotation */);
Arduino_GFX *gfx = new Arduino_SSD1331(
bus, 7 /* RST */, 0 /* rotation */);
Arduino_GFX *gfx = new Arduino_SSD1351(
bus, 7 /* RST */, 0 /* rotation */);
ST7735 have many variations, so the parameters is a little bit long.
Arduino_GFX *gfx = new Arduino_ST7735(
bus, 7 /* RST */, 0 /* rotation */);
Arduino_GFX *gfx = new Arduino_ST7735(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */,
128 /* width */, 160 /* height */,
2 /* col offset 1 */, 1 /* row offset 1 */,
2 /* col offset 2 */, 1 /* row offset 2 */,
false /* BGR */);
Arduino_GFX *gfx = new Arduino_ST7735(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */,
128 /* width */, 160 /* height */,
2 /* col offset 1 */, 1 /* row offset 1 */,
2 /* col offset 2 */, 1 /* row offset 2 */);
Arduino_GFX *gfx = new Arduino_ST7735(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */,
128 /* width */, 160 /* height */,
2 /* col offset 1 */, 3 /* row offset 1 */,
2 /* col offset 2 */, 1 /* row offset 2 */);
Arduino_GFX *gfx = new Arduino_ST7735(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */,
128 /* width */, 160 /* height */,
0 /* col offset 1 */, 0 /* row offset 1 */,
0 /* col offset 2 */, 0 /* row offset 2 */,
false /* BGR */);
Arduino_GFX *gfx = new Arduino_ST7735(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */,
128 /* width */, 128 /* height */,
2 /* col offset 1 */, 3 /* row offset 1 */,
2 /* col offset 2 */, 1 /* row offset 2 */);
Arduino_GFX *gfx = new Arduino_ST7735(
bus, 7 /* RST */, 0 /* rotation */, false /* IPS */,
128 /* width */, 128 /* height */,
0 /* col offset 1 */, 32 /* row offset 1 */);
Arduino_GFX *gfx = new Arduino_ST7735(
bus, 7 /* RST */, 3 /* rotation */, true /* IPS */,
80 /* width */, 160 /* height */,
26 /* col offset 1 */, 1 /* row offset 1 */,
26 /* col offset 2 */, 1 /* row offset 2 */);
Arduino_GFX *gfx = new Arduino_ST7789(
bus, 7 /* RST */, 0 /* rotation */);
Arduino_GFX *gfx = new Arduino_ST7789(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);
Arduino_GFX *gfx = new Arduino_ST7789(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */,
240 /* width */, 280 /* height */,
0 /* col offset 1 */, 20 /* row offset 1 */,
0 /* col offset 2 */, 20 /* row offset 2 */);
Arduino_GFX *gfx = new Arduino_ST7789(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */,
240 /* width */, 240 /* height */,
0 /* col offset 1 */, 80 /* row offset 1 */);
Arduino_GFX *gfx = new Arduino_ST7789(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */,
135 /* width */, 240 /* height */,
52 /* col offset 1 */, 40 /* row offset 1 */,
53 /* col offset 2 */, 40 /* row offset 2 */);
Arduino_GFX *gfx = new Arduino_ST7796(
bus, 7 /* RST */, 0 /* rotation */);
Arduino_GFX *gfx = new Arduino_ST7796(
bus, 7 /* RST */, 0 /* rotation */, true /* IPS */);