Skip to content

Commit 2bae131

Browse files
committed
more displays!
1 parent 5d40c9d commit 2bae131

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Factory_Tests/Qualia_ESP32S3_RGB666_FactoryTest/Qualia_ESP32S3_RGB666_FactoryTest.ino

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ Arduino_RGB_Display *gfx = new Arduino_RGB_Display(
3838
// 320 /* width */, 820 /* height */, rgbpanel, 0 /* rotation */, true /* auto_flush */,
3939
// expander, GFX_NOT_DEFINED /* RST */, tl032fwv01_init_operations, sizeof(tl032fwv01_init_operations));
4040

41+
// 4.0" 720x720 square display
42+
// 720 /* width */, 720 /* height */, rgbpanel, 0 /* rotation */, true /* auto_flush */,
43+
// expander, GFX_NOT_DEFINED /* RST */, NULL, 0);
44+
45+
// 4.0" 720x720 round display
46+
// 720 /* width */, 720 /* height */, rgbpanel, 0 /* rotation */, true /* auto_flush */,
47+
// expander, GFX_NOT_DEFINED /* RST */, hd40015c40_init_operations, sizeof(hd40015c40_init_operations));
48+
// needs also the rgbpanel to have these pulse/sync values:
49+
// 1 /* hync_polarity */, 46 /* hsync_front_porch */, 2 /* hsync_pulse_width */, 44 /* hsync_back_porch */,
50+
// 1 /* vsync_polarity */, 50 /* vsync_front_porch */, 16 /* vsync_pulse_width */, 16 /* vsync_back_porch */
51+
4152
uint16_t *colorWheel;
4253

4354
void setup(void)
@@ -75,7 +86,7 @@ uint8_t allpins[] = {SS, SCK, MOSI, MISO, A1, A0};
7586
void loop()
7687
{
7788
gfx->draw16bitRGBBitmap(0, 0, colorWheel, gfx->width(), gfx->height());
78-
delay(100);
89+
delay(1000);
7990
return;
8091
}
8192

0 commit comments

Comments
 (0)