Right now you get a value at 12.5 Hz I believe - you can raise the poll interval but you won't get more data until you reconfigure the accelerometer with Bangle.accelWr.
The accelerometer itself is the KX023 - more info about internals here as well as a link to the datasheet if you want more specs on the device: https://www.espruino.com/Bangle.js+Technical
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.
Hi!
Right now you get a value at 12.5 Hz I believe - you can raise the poll interval but you won't get more data until you reconfigure the accelerometer with
Bangle.accelWr
.The accelerometer itself is the KX023 - more info about internals here as well as a link to the datasheet if you want more specs on the device: https://www.espruino.com/Bangle.js+Technical
Perhaps a good example of messing with the accelerometer is the acceleration recorder: https://banglejs.com/apps/#accelrec
Code is here, and it might give you some clues about how to set it up for high speed capture: https://github.com/espruino/BangleApps/blob/master/apps/accelrec/app.js#L36
It depends - they can take a decent amount of time, but in general the JS execution speed isn't great either so that could be hitting you.