UNPKG

johnny-five-electron

Version:

Temporary fork to support Electron (to be deprecated)

23 lines (20 loc) 496 B
var five = require("../lib/johnny-five.js"); var Galileo = require("galileo-io"); var board = new five.Board({ io: new Galileo() }); board.on("ready", function() { var led = new five.Led(13); led.blink(); }); // @markdown // // In order to use the Galileo-IO library, you will need to flash the Intel IoTDevKit Image // on your Galileo Gen 2. Once the environment is created, install Johnny-Five and Galileo-IO. // // ```sh // npm install johnny-five galileo-io // ``` // // // @markdown