|
@@ -111,13 +111,6 @@ LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
|
|
|
write_data(g, 0x10); // 01
|
|
|
write_data(g, 0x7a); // 79
|
|
|
|
|
|
- write_index(g, 0xcb); //Power control A, default values:
|
|
|
- write_data(g, 0x39);
|
|
|
- write_data(g, 0x2c);
|
|
|
- write_data(g, 0x00);
|
|
|
- write_data(g, 0x34);
|
|
|
- write_data(g, 0x02);
|
|
|
-
|
|
|
write_index(g, 0xf7); //Pump ratio control
|
|
|
write_data(g, 0x20);
|
|
|
|
|
@@ -147,16 +140,11 @@ LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
|
|
|
|
|
|
write_index(g, 0xb6); //Display function control
|
|
|
write_data(g, 0x0a);
|
|
|
- write_data(g, 0xa2); //82
|
|
|
-// write_data(g, 0x27);
|
|
|
-// write_data(g, 0x00);
|
|
|
+ write_data(g, 0x82);
|
|
|
|
|
|
write_index(g, 0xf2); //3Gamma Function Disable
|
|
|
write_data(g, 0x00); // 08
|
|
|
|
|
|
- write_index(g, 0x26); //Gamma Set
|
|
|
- write_data(g, 0x01); //default value
|
|
|
-
|
|
|
write_index(g, 0xE0); //Positive Gamma Correction
|
|
|
write_data(g, 0x0f); // 1a
|
|
|
write_data(g, 0x2a); // 1f
|
|
@@ -204,7 +192,7 @@ LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
|
|
|
write_data(g, 0xEF);
|
|
|
|
|
|
write_index(g, 0x11); //Sleep Out
|
|
|
- gfxSleepMilliseconds(5); // 120 ?
|
|
|
+ gfxSleepMilliseconds(5);
|
|
|
|
|
|
write_index(g, 0x29); //Display ON
|
|
|
|