fw-rust: Configure display temperature curve
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Set the temperature compensation curve to -0.11%/°C.
This commit is contained in:
parent
262d49921e
commit
2fe25e584f
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ impl Lcd {
|
||||||
0xEE, // (18) Reset Cursor Update Mode
|
0xEE, // (18) Reset Cursor Update Mode
|
||||||
0x81, // (9) Set Electronic Volume: Set Contrast
|
0x81, // (9) Set Electronic Volume: Set Contrast
|
||||||
nb::block!(eeprom::read_byte(&CONTRAST)).unwrap(), // (9) Set Electronic Volume: Set Contrast
|
nb::block!(eeprom::read_byte(&CONTRAST)).unwrap(), // (9) Set Electronic Volume: Set Contrast
|
||||||
|
0xFA, // (25) Set Adv. Program Control 0: Set Temperature compensation curve to -0.11%/°C
|
||||||
|
0x90, // (25) Set Adv. Program Control 0: Set Temperature compensation curve to -0.11%/°C
|
||||||
0xAF, // (12) Set Display Enable: Display on
|
0xAF, // (12) Set Display Enable: Display on
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue