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:
parent
aff06619a0
commit
7a901b31c4
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue