UNPKG

johnny-five-electron

Version:

Temporary fork to support Electron (to be deprecated)

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;