Back to Johnny Five

Tessel 2 + Grove - RGB LCD Display

docs/lcd-rgb-tessel-grove-JHD1313M1.md

2.1.01.0 KB
Original Source
<!--remove-start-->

Tessel 2 + Grove - RGB LCD Display

<!--remove-end-->
Breadboard for "Tessel 2 + Grove - RGB LCD Display"

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

 

Run this example from the command line with:

bash
node eg/lcd-rgb-tessel-grove-JHD1313M1.js
javascript
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!");
});

 

<!--remove-start-->

License

Copyright (c) 2012-2014 Rick Waldron [email protected] Licensed under the MIT license. Copyright (c) 2015-2023 The Johnny-Five Contributors Licensed under the MIT license.

<!--remove-end-->