Skip to content

Latest commit

 

History

History
68 lines (34 loc) · 1.04 KB

lcd-rgb-tessel-grove-JHD1313M1.md

File metadata and controls

68 lines (34 loc) · 1.04 KB

Tessel 2 + Grove - RGB LCD Display

Breadboard for "Tessel 2 + Grove - RGB LCD Display"

docs/breadboard/lcd-rgb-tessel-grove-JHD1313M1.png

Fritzing diagram: docs/breadboard/lcd-rgb-tessel-grove-JHD1313M1.fzz

 

Run this example from the command line with:

node eg/lcd-rgb-tessel-grove-JHD1313M1.js
var five = require("johnny-five");
var Tessel = require("tessel-io");
var board = new five.Board({
  io: new Tessel()
});

board.on("ready", function() {

  var lcd = new five.LCD({
    controller: "JHD1313M1"
  });

  lcd.bgColor("#ff0000");
  lcd.cursor(0, 0).print("Hello");
  lcd.cursor(1, 0).print("World!");
});

 

License

Copyright (c) 2012-2014 Rick Waldron waldron.rick@gmail.com Licensed under the MIT license. Copyright (c) 2015-2023 The Johnny-Five Contributors Licensed under the MIT license.