• a way to send text from the website to the banglejs app

    Are you running your own app? If so, just define a function called myFunction and then send the code to call that. For example in the Bangle.js:

    function myFunction(txt) {
      g.clear(1);
      g.setFont("Vector",30).setFontAlign(0,0)­;
      g.drawString(txt, g.getWidth()/2, g.getHeight()/2);
    }
    

    On the web page:

    Puck.write('myFunction("MESSAGE")\n');
    
About

Avatar for Gordon @Gordon started