-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
1 parent
5fe970f
commit 32b31b4
Showing
3 changed files
with
50 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters