From 012f1bb96bdc72a51ed5ea8b873f238a77a4f01b Mon Sep 17 00:00:00 2001 From: moononournation Date: Thu, 8 Sep 2022 21:57:24 +0800 Subject: [PATCH] add ILI6485 display --- README.md | 5 +++-- examples/PDQgraphicstest/PDQgraphicstest.ino | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3e1215b9..55e882b5 100644 --- a/README.md +++ b/README.md @@ -211,12 +211,13 @@ Some larger display require RGB + 3-bit SPI combo interface, This interface requ - GC9A01 round display 240x240 [[demo video](https://youtu.be/kJrAFm20-zg)] - GC9106 80x160 [[demo video](https://youtu.be/RToGeeb1jxQ)] - GC9107 128x128 [[demo video](https://youtube.com/shorts/V1MCQ1tQ8PM)] -- GC9503V 480x480 [[demo video](https://youtube.com/shorts/hk7ZMBRCmjI)] +- GC9503V (RGB) 480x480 [[demo video](https://youtube.com/shorts/hk7ZMBRCmjI)] - HX8347C 240x320 [[demo video](https://youtu.be/25ymuV51YQM)] - HX8347D 240x320 [[demo video](https://youtu.be/sv6LGkLRZjI)] - HX8352C 240x400 [[demo video](https://youtu.be/m2xWYbS3t7s)] - HX8357A 320x480 [[demo video](https://youtu.be/wJkLO_xCTXA)] (currently only portrait works, i.e. rotation 0 and 2) - HX8357B (9-bit SPI) 320x480 [[demo video](https://youtu.be/pB6_LOCiUqg)] +- ILI6485 (RGB) 480x272 [[demo video](https://youtu.be/60rl7QoU4Sc)] - ILI9225 176x220 [[demo video](https://youtu.be/jm2UrCG27F4)] - ILI9341 240x320 [[demo video](https://youtu.be/NtlEEL7MkQY)] - ILI9341 (8-bit Parallel) 240x320 [[demo video](https://youtu.be/xuVx0dzQ7nM)] @@ -240,7 +241,7 @@ Some larger display require RGB + 3-bit SPI combo interface, This interface requ - ST7735 128x160 (various tabs) [[demo video](https://youtu.be/eRBSSD_N9II)] - ST7735 128x128 (various tabs) [[demo video](https://youtu.be/6rueSV2Ee6c)] - ST7735 80x160 [[demo video](https://youtu.be/qESHDuYo_Mk)] -- ST7701 480x480 [[demo video](https://youtube.com/shorts/JV8Rzxop5EQ)] +- ST7701 (RGB) 480x480 [[demo video](https://youtube.com/shorts/JV8Rzxop5EQ)] - ST7789 TTGO T-Display 135x240 [[demo video](https://youtu.be/Zk81_T8c20E)] - ST7789 240x240 [[demo video](https://youtu.be/Z27zYg5uAsk)] - ST7789 TTGO T-Watch 240x240 [[demo video](https://youtu.be/9AqsXMB8Qbk)] diff --git a/examples/PDQgraphicstest/PDQgraphicstest.ino b/examples/PDQgraphicstest/PDQgraphicstest.ino index 73e734e6..7e9b239b 100644 --- a/examples/PDQgraphicstest/PDQgraphicstest.ino +++ b/examples/PDQgraphicstest/PDQgraphicstest.ino @@ -46,10 +46,12 @@ Arduino_ESP32RGBPanel *bus = new Arduino_ESP32RGBPanel( 5 /* G0 */, 6 /* G1 */, 7 /* G2 */, 15 /* G3 */, 16 /* G4 */, 4 /* G5 */, 8 /* B0 */, 3 /* B1 */, 46 /* B2 */, 9 /* B3 */, 1 /* B4 */ ); +// ILI6485 LCD 480x272 Arduino_RPi_DPI_RGBPanel *gfx = new Arduino_RPi_DPI_RGBPanel( bus, 480 /* width */, 0 /* hsync_polarity */, 8 /* hsync_front_porch */, 4 /* hsync_pulse_width */, 43 /* hsync_back_porch */, - 272 /* height */, 0 /* vsync_polarity */, 8 /* vsync_front_porch */, 4 /* vsync_pulse_width */, 12 /* vsync_back_porch */); + 272 /* height */, 0 /* vsync_polarity */, 8 /* vsync_front_porch */, 4 /* vsync_pulse_width */, 12 /* vsync_back_porch */, + 1 /* pclk_active_neg */, 9000000 /* prefer_speed */, true /* auto_flush */); #elif defined(ESP32_LCDKIT_SPI) #define TFT_BL 23