johnny-five-electron
Version:
Temporary fork to support Electron (to be deprecated)
26 lines (20 loc) • 644 B
JavaScript
var five = require("../lib/johnny-five");
var board = new five.Board();
board.on("ready", function() {
// Plug the LCD module into any of the
// Grove Shield's I2C jacks.
var lcd = new five.LCD({
controller: "JHD1313M1"
});
lcd.useChar("heart");
lcd.cursor(0, 0).print("hello :heart:");
lcd.blink().cursor(1, 0).print("Blinking? ");
});
// @markdown
// For this program, you'll need:
//
// 
//
// 
//
// @markdown