armchair_fw/board_single
jonny_l480 32b31b481d Fix setFade, Make MASSAGE-mode work again (pre-rework)
MASSAGE mode is now useable again for now.
(no more random driving and unexpected shaking)
A full rework is still planned.

- Fix setFade method (did not change anything when not writing to nvs)

- joystick/massage:
    - reverse motor direction every 2nd cycle to preving driving
    - simplify modes (now only FW/REV and LEFT/RIGHT)
    - use joystick angle to vary the duty cycle
    - optimize delay and duty calculation (min max config)
    - drop hysteresis (not much use, just much code)
2024-06-01 17:59:29 +02:00
..