mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-11 08:34:45 +02:00
@@ -32,14 +32,11 @@
|
|||||||
writedata(0x01); //1-dot inversion
|
writedata(0x01); //1-dot inversion
|
||||||
|
|
||||||
writecommand(0xB6); //Display Function Control
|
writecommand(0xB6); //Display Function Control
|
||||||
writedata(0x20); //RGB interface for RAM access, RGB transfer in DE mode
|
writedata(0x80); //Bypass
|
||||||
//display data path in memory
|
|
||||||
//Gate outputs in non-display area in Normal scan
|
|
||||||
//Source output in non-display area =V63
|
|
||||||
|
|
||||||
writedata(0x02); //Source Output Scan from S1 to S960, Gate Output scan from G1 to G480, scan cycle=2
|
writedata(0x02); //Source Output Scan from S1 to S960, Gate Output scan from G1 to G480, scan cycle=2
|
||||||
writedata(0x3B); //LCD Drive Line=8*(59+1)
|
writedata(0x3B); //LCD Drive Line=8*(59+1)
|
||||||
|
|
||||||
|
|
||||||
writecommand(0xE8); //Display Output Ctrl Adjust
|
writecommand(0xE8); //Display Output Ctrl Adjust
|
||||||
writedata(0x40);
|
writedata(0x40);
|
||||||
writedata(0x8A);
|
writedata(0x8A);
|
||||||
|
Reference in New Issue
Block a user