rdancer / TSDZ2-Smart-EBike

Flexible OpenSource firmware for TongSheng TSDZ2 mid drive ebike motor
GNU General Public License v3.0
0 stars 0 forks source link

Indicate that brake sensors / shift sensor are being engaged #3

Closed rdancer closed 3 years ago

rdancer commented 3 years ago

There is no indicator of brake sensors/shifter sensors being engaged.

This would provide useful feedback, and also allow e-brake installation/adjustment/diagnostic while the bike is stationary.

The SW-900 e-bike display for example shows "Error 2" whenever brakes are depressed.

Related issue is that the firmware freezes on the boot-up screen: https://github.com/rdancer/TSDZ2-Smart-EBike/issues/2

rdancer commented 3 years ago

This is implemented in the code, and it does actually show on my device

https://github.com/rdancer/Color_LCD/blob/f22fe053c1932a49dfabae52532464f0d0e400ac/firmware/common/src/mainscreen.c#L1078

image