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!

16 lines (11 loc) 269 B
var five = require("../"); var board = new five.Board(); board.on("ready", function() { var l = new five.LCD({ controller: "PCF8574AT" }); l.useChar("heart"); l.cursor(0, 0).print("hello :heart:"); l.blink(); l.cursor(1, 0).print("Blinking? "); });