Thank you, this helps working through the following example https://www.espruino.com/BLE+Music+Control
setWatch(function(e){ print(e.time - e.lasTime); }, BTN, { edge:"falling",repeat:true,debounce:50});
the puck returns "NaN" on press button, the puck is on 2v04
@user111161 started
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.
Thank you, this helps
working through the following example
https://www.espruino.com/BLE+Music+Control
the puck returns "NaN" on press button, the puck is on 2v04