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, Raspberry Pi, Spark Core, TI Launchpad and more!

14 lines (10 loc) 289 B
var LedControl = require("./ledcontrol"); // stub implementation; extract functionality from ledcontrol.js function Matrix(opts) { opts.isMatrix = true; return new LedControl(opts); } Object.assign(Matrix, LedControl, { CHARS: LedControl.MATRIX_CHARS }); module.exports = Matrix;