Thanks for trying this out!
I'm not entirely convinced that a filter is needed
I seem to recall that earlier you felt you had a lot of success with just the active pedometer on earlier firmwares?
In that case, we could look at removing all the filtering code, going with just a standard threshold, and doing the X steps in Y seconds thing?
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks for trying this out!
I seem to recall that earlier you felt you had a lot of success with just the active pedometer on earlier firmwares?
In that case, we could look at removing all the filtering code, going with just a standard threshold, and doing the X steps in Y seconds thing?