You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I think the correct usage is:

    var Blynk = require('');
    var blynk = new Blynk.Blynk('715f8caae9bf4a91bae319d0376­caa8d', options = {
      certs_path : '../certs/'
    var v1 = new blynk.VirtualPin(1);
    var v9 = new blynk.VirtualPin(9);
    v1.on('write', function(param) {
      console.log('V1:', param);
    v9.on('read', function() {
      v9.write(new Date().getSeconds());

    The link to the node.js module is a bit confusing... But to be honest the code itself is relatively compact, and can be auto-minified (via Web IDE settings) so shouldn't use up too much space.

    No, you'd have to upload to the Espruino to verify it I'm afraid - to check it more sensibly I'd really need to run an Espruino instance in the web browser :)


Avatar for Gordon @Gordon started