Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 1.04 KB

led-matrix-HT16K33.md

File metadata and controls

77 lines (42 loc) · 1.04 KB

LED - Matrix HT16K33

Breadboard for "LED - Matrix HT16K33"

docs/breadboard/led-matrix-HT16K33.png

Fritzing diagram: docs/breadboard/led-matrix-HT16K33.fzz

 

Run this example from the command line with:

node eg/led-matrix-HT16K33.js
var five = require("johnny-five");
var board = new five.Board();

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

  var heart = [
    "01100110",
    "10011001",
    "10000001",
    "10000001",
    "01000010",
    "00100100",
    "00011000",
    "00000000"
  ];

  var matrix = new five.Led.Matrix({
    addresses: [0x70],
    controller: "HT16K33",
    rotation: 3,
  });

  matrix.clear();
  matrix.draw(heart);
});

 

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.