Skip to content

Commit

Permalink
Implement averaging for smoothing, code cleanup
Browse files Browse the repository at this point in the history
Added two options for software smoothing:

Default uses a fixed average of qe_samples, giving good readings and quick response.

I implemented a moving average algorithm, but it's commented out due to being slow when configured with enough samples. See the code for more details.

Finally, I commented out older smoothing / button emulation code that was unnecessary for me and was also dependent on 8-bit.
  • Loading branch information
Horocchi committed Apr 9, 2020
1 parent 5f831c1 commit 188871f
Showing 1 changed file with 207 additions and 129 deletions.
Loading

0 comments on commit 188871f

Please sign in to comment.