14 Commits

Author SHA1 Message Date
14b5f6988d Use both buttons to toggle driver & testing view 2022-03-13 20:01:46 +01:00
3cf68cd3cb Add more values 2022-03-13 19:57:34 +01:00
894ced16ef Redraw screen after alarms/changing encoders 2022-03-13 19:54:54 +01:00
5eecc507a0 Use debouncer for button states 2022-03-13 19:52:11 +01:00
373266f6be [WIP] Major rewrite of display code
Currently, the displayed values are hardcoded
2022-03-13 18:18:11 +01:00
f62f264b29 Implement some EDIPTFT commands 2022-03-13 18:17:41 +01:00
0eeafa9393 Debounce the rest of the buttons 2022-03-13 18:15:41 +01:00
jvblanck
8f5dd839d6 don't print CAN 77A 2021-10-26 11:19:29 +02:00
jvblanck
24315d6c84 Debounce (some) buttons 2021-07-18 22:32:33 +02:00
jvblanck
e3f20ebe57 Don't draw text at the left edge
Part of the display of one of the steering wheels is blocked by a cable
tie.
2021-07-18 19:24:41 +02:00
jvblanck
895280cb5a Don't send data if display is disconnected
Otherwise, we're waiting 1s on pretty much any call to the display. If
the display gets disconnected at the start of the `update_display()`
function, that can mean quite the delay.

It's possible that this delay triggers a watchdog timer that blinks the
LEDs, but there doesn't appear to be any watchdog timer configured.
2021-07-18 18:27:47 +02:00
jvblanck
beff90a10a Updated CAN interface 2021-06-30 21:36:51 +02:00
jvblanck
4d62419d72 e-wagen: Use updated LEDs & kill display 2021-06-18 15:52:50 +02:00
jvblanck
4faddf9248 Initial commit
This is just the 2018 code configured for PlatformIO
2021-06-15 19:42:00 +02:00