Replies: 2 comments
-
Hi! It's all in the Espruino repository - the step counter is at https://github.com/espruino/Espruino/blob/master/libs/misc/stepcount.c |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, as shown in the file @gfwilliams pasted, it basically just smooths the values, and finds a spike in the accelerometer data that it compares against thresholds to determine if a step was taken or not. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I see the Bangle 2 uses a KX023, but I see that the KX023 doesn't have an integrated step counter.
How does the Bangle watch count steps? I couldn't find the code that would perform that function. If it's public, can it be shaed with me (and sorry if I missed it when searching).
The purpose is that I'm trying to add step counting to the Sensorwatch project and I'd want to see how other open-source watch projects solve this puzzle.
Beta Was this translation helpful? Give feedback.
All reactions