From 93c56ceaa021dde3f22057dabaecdb9f4eddb5f1 Mon Sep 17 00:00:00 2001 From: imi415 Date: Wed, 23 Jun 2021 00:43:15 +0800 Subject: [PATCH] Fixed 320x240 Gamma curve. --- st7789_lcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/st7789_lcd.c b/st7789_lcd.c index 094da06..8e7c02e 100644 --- a/st7789_lcd.c +++ b/st7789_lcd.c @@ -13,8 +13,8 @@ uint8_t st7789_init_seq_zjy_320_240[] = { 0x0E, 0xE0, 0xD0, 0x08, 0x0E, 0x09, 0x09, 0x05, 0x31, 0x33, 0x48, 0x17, 0x14, 0x15, 0x31, 0x34, // Positive Voltage Gamma Control - 0x0E, 0xE1, 0xD0, 0x08, 0x0E, 0x09, 0x15, 0x31, - 0x33, 0x48, 0x17, 0x2F, 0x14, 0x15, 0x31, + 0x0E, 0xE1, 0xD0, 0x08, 0x0E, 0x09, 0x09, 0x15, + 0x31, 0x33, 0x48, 0x17, 0x14, 0x15, 0x31, 0x34, // Negative Voltage Gamma Control 0x00, 0x21, // Inversion On };