mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-03 04:34:43 +02:00
Update ST7789_Init.h
This commit is contained in:
@@ -141,6 +141,14 @@
|
|||||||
writecommand(ST7789_MADCTL);
|
writecommand(ST7789_MADCTL);
|
||||||
writedata(TFT_MAD_COLOR_ORDER);
|
writedata(TFT_MAD_COLOR_ORDER);
|
||||||
|
|
||||||
|
// writecommand(ST7789_RAMCTRL);
|
||||||
|
// writedata(0x00);
|
||||||
|
// writedata(0xE0); // 5 to 6 bit conversion: r0 = r5, b0 = b5
|
||||||
|
|
||||||
|
writecommand(ST7789_COLMOD);
|
||||||
|
writedata(0x55);
|
||||||
|
delay(10);
|
||||||
|
|
||||||
//--------------------------------ST7789V Frame rate setting----------------------------------//
|
//--------------------------------ST7789V Frame rate setting----------------------------------//
|
||||||
writecommand(ST7789_PORCTRL);
|
writecommand(ST7789_PORCTRL);
|
||||||
writedata(0x0b);
|
writedata(0x0b);
|
||||||
|
Reference in New Issue
Block a user