Merge pull request #2445 from Muny/fix-128x160-artifacts

Use correct resolution register value. Fixes dim artifacts on edge of 128x160 screens
This commit is contained in:
olikraus 2024-05-17 15:37:33 +02:00 committed by GitHub
commit 6e2c5b6a1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ static const uint8_t u8x8_d_sh1108_128x160_noname_init_seq[] = {
U8X8_C(0x0ae), /* display off */
U8X8_CA(0x0d5, 0x060), /* clock divide ratio and oscillator frequency */
U8X8_CA(0x0a9, 0x003), /* set display resolution, 0=64x160, 1=96x160, 2=128x160, 3=160x160 */
U8X8_CA(0x0a9, 0x002), /* set display resolution, 0=64x160, 1=96x160, 2=128x160, 3=160x160 */
U8X8_C(0x020), /* addressing mode */
U8X8_CA(0x081, 0x01f), /* set contrast control */
U8X8_CA(0x0ad, 0x80), /* DC/DC control 80=Use external Vpp, 89=Use internal DC/DC*/