is it the case that whichever axis is vertical will always show a background value in the region of 16000 which is the acceleration due to gravity?
Yes, that's correct. I believe it is possible to configure the accelerometer to do a 'high pass filter' to discount any acceleration due to gravity, but that has its own side effects (twisting the Puck will then show 1g acceleration until the filter updates)
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.
Yes, that's correct. I believe it is possible to configure the accelerometer to do a 'high pass filter' to discount any acceleration due to gravity, but that has its own side effects (twisting the Puck will then show 1g acceleration until the filter updates)