johnny-five
Version:
The JavaScript Robotics and Hardware Programming Framework. Use with: Arduino (all models), Electric Imp, Beagle Bone, Intel Galileo & Edison, Linino One, Pinoccio, Raspberry Pi, Spark Core, TI Launchpad and more!
23 lines (20 loc) • 496 B
JavaScript
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