Commit Graph
5 Commits
Author SHA1 Message Date
ash 17def39f93 Remove hysteresis (smoothing handles noise); values now step ±1 per update 2026-07-04 05:11:47 +00:00
ash 4f58d4b8e6 Exponential smoothing on expression pedal ADC (factor 8) to filter noise 2026-07-04 05:05:35 +00:00
ash 9197294365 Increase pedal read rate: 20ms -> 5ms 2026-07-02 04:21:53 +00:00
ash 8bde8efaff Add expression pedal calibration: cal min/cal max
- Remove fixed 0-4095 mapping, use cal_min/cal_max instead
- Auto-calibrate minimum at boot (assumes pedal at heel)
- 'cal min' sets current position as heel (0)
- 'cal max' sets current position as toe (127)
- Map cal_min->0, cal_max->127 with clamping
- Update 'exp' command to show raw ADC + cal values
2026-07-02 04:09:22 +00:00
ash 08d6fc8701 Add expression pedal support on GPIO5 (CC 4) 2026-07-02 04:00:06 +00:00