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 Digits(opts) { opts.isMatrix = false; return new LedControl(opts); } Object.assign(Digits, LedControl, { CHARS: LedControl.DIGIT_CHARS }); module.exports = Digits;