• Sun 2019.04.07

    Hello @Jennygrist, welcome to the world of Espruino. Although I've not done that tutorial, the idea is to create a web page using that code, and deploy to a remote server or your own public GitHub account. I believe the restriction is that Puck.js requires an https:// secure access.


    From inside the link in #5 above:

    'For an example of how to do this, see the Web Bluetooth tutorial'

    What was the result of following the step-by-step outline in:

    https://www.espruino.com/Web%20Bluetooth­



    The last instruction at:

    https://pages.github.com/

    Fire up a browser and go to https://username.github.io

    If I type in: https://jennygrist.github.io/
    The page indicates that the GitHub Pages account is not yet set up.

    It appears your repository does contain the (your link in #6) source code, and that looks fine, just that the deployed to Pages part isn't complete yet. In can take fifteen minutes or so. That Pages account part serves your repository Html page content in order for you to see the rendered button output in the browser.



    In the meantime, were you able to use the 'Try Me' button in the first code block at:

    https://www.espruino.com/Web%20Bluetooth­

    and connect to your Puck that way?

About

Avatar for Robin @Robin started