From 2077f3ec4bd942ae160982989e7366e620004319 Mon Sep 17 00:00:00 2001 From: schneider <schneider@blinkenlichts.net> Date: Thu, 22 Aug 2019 23:36:39 +0200 Subject: [PATCH] fix(display): Increase freq of backlight to 1 kHz --- lib/gfx/GUI_DEV/DEV_Config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gfx/GUI_DEV/DEV_Config.c b/lib/gfx/GUI_DEV/DEV_Config.c index 7abef1d2..543604f7 100644 --- a/lib/gfx/GUI_DEV/DEV_Config.c +++ b/lib/gfx/GUI_DEV/DEV_Config.c @@ -68,7 +68,7 @@ void lcd_write(uint8_t *data, int size) // Parameters for PWM output #define PORT_PWM PORT_0 // port #define PIN_PWM PIN_28 // pin -#define FREQ 200 // (Hz) +#define FREQ 1000 // (Hz) #define PWM_TIMER MXC_TMR4 // must change PORT_PWM and PIN_PWM if changed void DEV_Set_BL(uint16_t _Value) { -- GitLab