Skip to content

Commit 85d4151

Browse files
committed
ugfx: ST7789: set frame rate to 62.5 fps
1 parent f42b1da commit 85d4151

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/ugfx/drivers/gdisp/ST7789/gdisp_lld_ST7789.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
7070
write_cmd(g, ST7789_SLPOUT); // 2: Out of sleep mode, no args, w/delay
7171
gfxSleepMilliseconds(120);
7272
write_cmd(g, ST7789_PORCTRL); // 3: Porch setting, 5 args, no delay:
73-
write_data(g, 0x0C);
74-
write_data(g, 0x0C);
73+
write_data(g, 0x15);
74+
write_data(g, 0x15);
7575
write_data(g, 0x00);
7676
write_data(g, 0x33);
7777
write_data(g, 0x33);
@@ -88,7 +88,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
8888
write_cmd(g, ST7789_VDVSET); // 9: VDV setting, 1 arg, no delay:
8989
write_data(g, 0x20);
9090
write_cmd(g, ST7789_FRCTRL2); // 10: Frame rate control - normal mode, 1 arg:
91-
write_data(g, 0x01);
91+
write_data(g, 0x0C);
9292
write_cmd(g, ST7789_PWCTRL1); // 11: Power control 1, 2 args, no delay:
9393
write_data(g, 0xA4);
9494
write_data(g, 0xA1);

0 commit comments

Comments
 (0)