projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/st7565: Set default contrast to 13
[fw/altos]
/
src
/
drivers
/
ao_st7565.c
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_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];
}
static uint8_t rotbuf[AO_ST7565_WIDTH];