From 7977ff5291c6161d37b7c1b1548258df2e58c09e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 28 Jan 2024 00:17:27 -0800 Subject: [PATCH] altos/st7565: Set default contrast to 13 This seems slightly better than 16. Might need to actually keep this in config space. Signed-off-by: Keith Packard --- src/drivers/ao_st7565.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/ao_st7565.c b/src/drivers/ao_st7565.c index 7540297c..3eec610d 100644 --- a/src/drivers/ao_st7565.c +++ b/src/drivers/ao_st7565.c @@ -128,7 +128,7 @@ ao_st7565_setup(void) ao_delay(AO_MS_TO_TICKS(10)); ao_st7565_instruction(ST7565_RESISTOR_RATIO_SET(5)); ao_st7565_instruction(ST7565_DISPLAY_ON); - ao_st7565_set_brightness(0x10); + ao_st7565_set_brightness(13); } static uint8_t rotbuf[AO_ST7565_WIDTH]; -- 2.30.2