Ok - so where are you supposed to ask the user what the goal is? On a Web Bluetooth website? Or via the Puck itself?
If so I guess you're going to have to count the number of times the button is pressed to input the goal - it could make it a bit of a pain to use?
@Gordon 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.
Ok - so where are you supposed to ask the user what the goal is? On a Web Bluetooth website? Or via the Puck itself?
If so I guess you're going to have to count the number of times the button is pressed to input the goal - it could make it a bit of a pain to use?