Using a Grove RGB LCD with and without the Grove Shield

lcd-JHD1313M1.png

Fritzing diagram: lcd-JHD1313M1.fzz

 

Run this example from the command line with:

node eg/lcd-i2c.js
var five = require("johnny-five");
var board = new five.Board();

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

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

  lcd.useChar("heart");

  lcd.cursor(0, 0).print("hello :heart:");

  lcd.blink();

  lcd.cursor(1, 0).print("Blinking? ");
});



Additional Notes

Grove - LCD RGB w/ Backlight Grove LCD RGB

 

Component Classes in this example:

Hi! The Johnny-Five community is building new projects every day. We made this newsletter to tell you about what's new, what's good, and what's next for Open Source robotics. Join us in exploring what we can make together.

Fork me on GitHub