I am getting some issues with my code to handle the button event on the puck js. I think puck is too sensitive that its button event is fired even on movement of device. How can i improve this. Is their any documentation for what are all possible options we can pass to
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 All,
I am getting some issues with my code to handle the button event on the puck js. I think puck is too sensitive that its button event is fired even on movement of device. How can i improve this. Is their any documentation for what are all possible options we can pass to
Code which i am using is as followed. Please
Should i use debounce, Can you give me some idea about debounce what is use of this.