Mercurial > public > ostc4
diff Discovery/Src/display.c @ 1006:75f958ca5d0e GasConsumption
Minor modification activ gas indicator:
On the main screen the active gas is visualized by a number and a box around it.The box as well as the number started at coordinate 0 resultiong of a very close drawing of box and number. To improve this a small gap is added between box and number and the box itself was enlarged. With the OSTC5 a problem with the pixel sync was solfed which caused the first column to not be drawn.
| author | Ideenmodellierer |
|---|---|
| date | Sat, 03 May 2025 17:52:05 +0200 |
| parents | 8d3f3a635397 |
| children |
line wrap: on
line diff
--- a/Discovery/Src/display.c Sat May 03 17:47:53 2025 +0200 +++ b/Discovery/Src/display.c Sat May 03 17:52:05 2025 +0200 @@ -407,7 +407,7 @@ aTxBuffer[1] = OLED_VFP_SET_13h; send((uint8_t*)aTxBuffer, 2); aTxBuffer[0] = 0x72; - aTxBuffer[1] = 0x08; + aTxBuffer[1] = 0x0C; send((uint8_t*)aTxBuffer, 2); aTxBuffer[0] = 0x70;
