fw-rust: Configure display temperature curve
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:
finga 2022-04-08 00:15:32 +02:00
parent 262d49921e
commit 2fe25e584f

View file

@ -35,6 +35,8 @@ impl Lcd {
0xEE, // (18) Reset Cursor Update Mode
0x81, // (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
];