File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,15 @@ namespace pimoroni {
94
94
command (reg::GMCTRN1, 14 , " \xD0\x08\x10\x08\x06\x06\x39\x44\x51\x0B\x16\x14\x2F\x31 " );
95
95
}
96
96
97
+ if (width == 240 && height == 135 ) { // Pico Display Pack (1.14" 240x135)
98
+ command (reg::VRHS, 1 , " \x00 " ); // VRH Voltage setting
99
+ command (reg::GCTRL, 1 , " \x75 " ); // VGH and VGL voltages
100
+ command (reg::VCOMS, 1 , " \x3D " ); // VCOM voltage
101
+ command (0xd6 , 1 , " \xa1 " ); // ???
102
+ command (reg::GMCTRP1, 14 , " \x70\x04\x08\x09\x09\x05\x2A\x33\x41\x07\x13\x13\x29\x2f " );
103
+ command (reg::GMCTRN1, 14 , " \x70\x03\x09\x0A\x09\x06\x2B\x34\x41\x07\x12\x14\x28\x2E " );
104
+ }
105
+
97
106
command (reg::INVON); // set inversion mode
98
107
command (reg::SLPOUT); // leave sleep mode
99
108
command (reg::DISPON); // turn display on
You can’t perform that action at this time.
0 commit comments