Is there anyway I can count the number of button presses to show up on a web page? Using Puck.js #3302
Replies: 3 comments
-
|
Posted at 2020-03-15 by Robin Sun 2020.03.15 Hi @user110429 and welcome to the world of Espruino and your choice using Puck.js
Tons of examples: Code for detecting a button press: Code example specific for Puck: Follow tutorial for web page access using a BLE enabled browser, such as Chrome: Have fun!! |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-15 by user110429 Hey, thanks for these links. So I've used the code found on this link for counting button presses. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-15 by Robin Sun 2020.03.15
Does the web page example from last link in post #2 work from a BLE compliant browser? Follow instructions there carefully. Must be See post #7 Lacking that, follow the bulleted list at:
to provide our viewers the environment, code snippets, etc. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-03-15 by user110429
Is there any available code for that? I looking for a way for my Web Bluetooth webpage to count the number of presses on a puck.
Beta Was this translation helpful? Give feedback.
All reactions