UNPKG

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!

11 lines (7 loc) 212 B
var five = require("../lib/johnny-five.js"); var board = new five.Board(); board.on("ready", function() { var led = new five.Led(13); // "blink" the led in 500ms on-off phase periods led.blink(500); });