The default is 2, so you can just change the value to tweak the sensitivity. There's also a duration option which you can set to ignore short-lived movement.
I've removed the change for now, but it's not working exactly like before. Do I need to reset the register?
Using your original code? You could try just power cycling it?
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.
Not quite sure I understood? You mean it's too sensitive?
I've just added a bunch of extra modules for the new Puck.js, as well as one to improve the power usage: http://www.espruino.com/Puck.js#on-board-peripherals
So you can now do:
If it's too sensitive, you can do:
The default is 2, so you can just change the value to tweak the sensitivity. There's also a
duration
option which you can set to ignore short-lived movement.Using your original code? You could try just power cycling it?