Skip to content

Latest commit

 

History

History
68 lines (35 loc) · 1 KB

lcd-16x2-tessel.md

File metadata and controls

68 lines (35 loc) · 1 KB

LCD - Tessel 2 16x2

Breadboard for "LCD - Tessel 2 16x2"

docs/breadboard/lcd-16x2-tessel.png

Fritzing diagram: docs/breadboard/lcd-16x2-tessel.fzz

 

Run this example from the command line with:

node eg/lcd-16x2-tessel.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({
    // LCD pin:
    //      RS    EN    D4    D5    D6    D7
    pins: ["a2", "a3", "a4", "a5", "a6", "a7"],
  });

  lcd.cursor(0, 0).print("10".repeat(8));
  lcd.cursor(1, 0).print("01".repeat(8));
});

 

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.