4 #define LUAT_LOG_TAG "st7789"
7 static const uint16_t st7789_init_cmds
[] = {
11 0x02B2,0x030C,0x030C,0x0300,0x0333,0x0333,
19 /* VDV and VRH Command Enable */
25 /* Frame Rate Control in Normal Mode */
29 /* Positive Voltage Gamma Control */
30 0x02E0,0x03D0,0x0308,0x030E,0x0309,0x0309,0x0305,0x0331,0x0333,0x0348,0x0317,0x0314,0x0315,0x0331,0x0334,
31 /* Negative Voltage Gamma Control */
32 0x02E1,0x03D0,0x0308,0x030E,0x0309,0x0309,0x0315,0x0331,0x0333,0x0348,0x0317,0x0314,0x0315,0x0331,0x0334,
36 luat_lcd_opts_t lcd_opts_st7789
= {
38 .init_cmds_len
= sizeof(st7789_init_cmds
)/sizeof(st7789_init_cmds
[0]),
39 .init_cmds
= st7789_init_cmds
,