Exponential smoothing on expression pedal ADC (factor 8) to filter noise

This commit is contained in:
ash
2026-07-04 05:05:35 +00:00
parent 33c9dd10c0
commit 4f58d4b8e6
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -29,6 +29,7 @@ private:
uint32_t last_read_time;
uint16_t current_raw;
uint16_t smoothed_raw;
uint16_t cal_min;
uint16_t cal_max;