UNPKG

johnny-five

Version:

The JavaScript Robotics and Hardware Programming Framework. Use with: Arduino (all models), Electric Imp, Beagle Bone, Intel Galileo & Edison, Linino One, Pinoccio, pcDuino3, Raspberry Pi, Particle/Spark Core & Photon, Tessel 2, TI Launchpad and more!

15 lines (11 loc) 249 B
const LedControl = require("./ledcontrol"); class Matrix extends LedControl { constructor(options) { options.isMatrix = true; super(options); } static get CHARS() { return LedControl.MATRIX_CHARS; } } module.exports = Matrix;