projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffaee64
)
altos/st7565: Set default contrast to 13
author
Keith Packard
<keithp@keithp.com>
Sun, 28 Jan 2024 08:17:27 +0000
(
00:17
-0800)
committer
Keith Packard
<keithp@keithp.com>
Thu, 1 Feb 2024 01:50:19 +0000
(17:50 -0800)
This seems slightly better than 16. Might need to actually keep this
in config space.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_st7565.c
patch
|
blob
|
history
diff --git
a/src/drivers/ao_st7565.c
b/src/drivers/ao_st7565.c
index 7540297cb3f686b6147048c3f493d1e36f90c85c..3eec610da804b7a292d1fe8d74a2fe6b2540c8a2 100644
(file)
--- 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];