@@ -38,6 +38,17 @@ Arduino_RGB_Display *gfx = new Arduino_RGB_Display(
38
38
// 320 /* width */, 820 /* height */, rgbpanel, 0 /* rotation */, true /* auto_flush */,
39
39
// expander, GFX_NOT_DEFINED /* RST */, tl032fwv01_init_operations, sizeof(tl032fwv01_init_operations));
40
40
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
+
41
52
uint16_t *colorWheel;
42
53
43
54
void setup (void )
@@ -75,7 +86,7 @@ uint8_t allpins[] = {SS, SCK, MOSI, MISO, A1, A0};
75
86
void loop ()
76
87
{
77
88
gfx->draw16bitRGBBitmap (0 , 0 , colorWheel, gfx->width (), gfx->height ());
78
- delay (100 );
89
+ delay (1000 );
79
90
return ;
80
91
}
81
92
0 commit comments