mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-03 04:34:43 +02:00
@@ -15,7 +15,11 @@
|
|||||||
delay(120);
|
delay(120);
|
||||||
|
|
||||||
writecommand(0x3A);
|
writecommand(0x3A);
|
||||||
writedata(0x55); // 16 bit colour interface
|
#if defined (TFT_PARALLEL_8_BIT) || defined (TFT_PARALLEL_16_BIT) || defined (RPI_DISPLAY_TYPE)
|
||||||
|
writedata(0x55); // 16 bit colour interface
|
||||||
|
#else
|
||||||
|
writedata(0x66); // 18 bit colour interface
|
||||||
|
#endif
|
||||||
|
|
||||||
writecommand(0xC0); // 1100.0000 Power Control 1
|
writecommand(0xC0); // 1100.0000 Power Control 1
|
||||||
writedata(0x0E); // 0001.0111 ... VRH1
|
writedata(0x0E); // 0001.0111 ... VRH1
|
||||||
|
Reference in New Issue
Block a user