You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi,

    Just to say that I finally got around to creating a NPM module for Espruino.

    If you have node.js and NPM installed you can just do:

    npm install -g espruino
    

    and you'll get the command-line tool.

    Instructions here

    You can also use it to do things from node.js on your PC:

    require('espruino').expr('/dev/ttyACM0', 'E.getTemperature()', function(temp) {
            console.log('Current temperature is '+temp); 
    });
    

    It still needs a bit of work, but hopefully this will be a good start.

About

Avatar for Gordon @Gordon started