UNPKG

johnny-five-electron

Version:

Temporary fork to support Electron (to be deprecated)

12 lines (9 loc) 277 B
var five = require("../lib/johnny-five.js"); var board = new five.Board(); // The board's pins will not be accessible until // the board has reported that it is ready board.on("ready", function() { console.log("Ready!"); var led = new five.Led(13); led.blink(500); });