From 31a1a2900423056c18f5d2afd467fb53688058c1 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Fri, 28 Aug 2020 01:13:44 -0400 Subject: Xduoo X3 Tweak LCD settings Adds contrast setting which actually sets the drive voltage Change-Id: I173238e2efe9e50c6ef4cda9bf991e7ee5568ff5 --- firmware/export/config/xduoox3.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'firmware/export/config') diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h index e5b5ed9a10..fa86caf511 100644 --- a/firmware/export/config/xduoox3.h +++ b/firmware/export/config/xduoox3.h @@ -45,6 +45,13 @@ #define LCD_BL_DARKCOLOR 0x000000 #define LCD_BL_BRIGHTCOLOR 0x0de2e5 +/* Define this if your LCD can set contrast */ +#define HAVE_LCD_CONTRAST + +#define MIN_CONTRAST_SETTING -9 +#define MAX_CONTRAST_SETTING -1 +#define DEFAULT_CONTRAST_SETTING -6 + /* define this if you have LCD enable function */ #define HAVE_LCD_ENABLE -- cgit v1.2.3