Cylon.js Intel Edison

Cylon module for Intel-IoT platforms

This repository contains the Cylon adaptor for the Intel Edison and Intel Galileo IoT platforms. It uses the MRAA node module (https://github.com/intel-iot-devkit/mraa)

root@edison:~# npm install cylon cylon-intel-iot cylon-gpio cylon-i2c
root@edison:~# nano cylonjs01.js
var Cylon = require('cylon');

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

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

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

Last updated