Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1005:85f7e19c6688 | 1006:75f958ca5d0e |
|---|---|
| 405 | 405 |
| 406 aTxBuffer[0] = 0x70; | 406 aTxBuffer[0] = 0x70; |
| 407 aTxBuffer[1] = OLED_VFP_SET_13h; | 407 aTxBuffer[1] = OLED_VFP_SET_13h; |
| 408 send((uint8_t*)aTxBuffer, 2); | 408 send((uint8_t*)aTxBuffer, 2); |
| 409 aTxBuffer[0] = 0x72; | 409 aTxBuffer[0] = 0x72; |
| 410 aTxBuffer[1] = 0x08; | 410 aTxBuffer[1] = 0x0C; |
| 411 send((uint8_t*)aTxBuffer, 2); | 411 send((uint8_t*)aTxBuffer, 2); |
| 412 | 412 |
| 413 aTxBuffer[0] = 0x70; | 413 aTxBuffer[0] = 0x70; |
| 414 aTxBuffer[1] = OLED_DISPLAY_CON_15h; | 414 aTxBuffer[1] = OLED_DISPLAY_CON_15h; |
| 415 send((uint8_t*)aTxBuffer, 2); | 415 send((uint8_t*)aTxBuffer, 2); |
