stancecoke wrote: ↑
Jun 16 2018 2:52am
honya96 wrote: ↑
Jun 15 2018 3:49pm
Why not 5 really fast clicks on the lever,
Good idea! Very easy to program. But you will loose the possibility to define you own individual morse-code...
Is anyone seriously interested in using it in this way?
I also prefer that way, because I think must be something hard to change the state and not happen by mistake.
I also like the idea of showing the 99km/h for some seconds when offroad mode is activated and maybe 25km/h when it is deactivated.
Also, there is a state machine on the firmware to detect when ebike is stopped (wheel is stopped) and I think is a good idea to putor call there this piece, so the offroad state can be changed only with ebike stopped.
Do you want to implement that Stancecoke? If so, please try using the switch case as is better to understand than a big number of ifs.
Developer of the Flexible OpenSource firmware for EBike motor controllers (TSDZ2
) and LCDs (KT-LCD3 and Bafang 850C color LCD).
If you like my work, please consider making a donation. I am being using the donations to buy needed resources for my developments. My paypal: casainho AT gmail.com.