Add log to device module. This cli app is turning into a dog fast. Need to take a step back and reconsider.

This commit is contained in:
mmcwilliams 2019-02-26 21:57:43 -05:00
parent aff06619a0
commit 7a901b31c4
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,7 @@
'use strict'
let arduino
const log = require('log')({quiet : false})
const dev = {}
dev.init = function () {
@ -293,4 +295,7 @@ dev.ready = function (projector, camera, light) {
return true
};
module.exports = dev
module.exports = function (a) {
arduino = a
return dev
}