1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

T12 default contrast fix

This commit is contained in:
3djc 2019-06-21 09:48:03 +02:00
parent 856a5e0853
commit e00a40885f

View file

@ -117,8 +117,9 @@ void lcdStart()
lcdWriteCommand(0xa3); // Set bias=1/6 lcdWriteCommand(0xa3); // Set bias=1/6
lcdWriteCommand(0x22); // Set internal rb/ra=5.0 lcdWriteCommand(0x22); // Set internal rb/ra=5.0
lcdWriteCommand(0x2f); // All built-in power circuits on lcdWriteCommand(0x2f); // All built-in power circuits on
lcdWriteCommand(0x24); // Set contrast lcdWriteCommand(0x24); // Power control set
lcdWriteCommand(0x36); // Set Vop lcdWriteCommand(0x81); // Set contrast
lcdWriteCommand(0x0A); // Set Vop
lcdWriteCommand(0xa6); // Set display mode lcdWriteCommand(0xa6); // Set display mode
#else #else
lcdWriteCommand(0xe2); // (14) Soft reset lcdWriteCommand(0xe2); // (14) Soft reset