diff --git a/cli/lib/device/index.js b/cli/lib/device/index.js index 1557314..40193cd 100644 --- a/cli/lib/device/index.js +++ b/cli/lib/device/index.js @@ -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 \ No newline at end of file +module.exports = function (a) { + arduino = a + return dev +} \ No newline at end of file