var Cylon = require('cylon');

Cylon.robot({
  connections: {
    galileo: {
      adaptor: 'intel-iot'
    }
  },

  devices: {
    led: {
      driver: 'led',
      pin: 13
    }
  },

  work: function(my) {
    every((1).second(), function() {
      my.led.toggle();
    });
  }
}).start();

@@ -199,24 +199,49 @@
 ction(my) %7B%0A
+    console.log('test');%0A
     every((1
@@ -300,16 +300,76 @@
 %7D);%0A  %7D%0A
+%7D).on('ready', function start(my) %7B%0A  console.log('test2');%0A
 %7D).start

test api plus ancienne