Closed rootedsoftware closed 7 years ago
Try this:
var Chip_io = require('chip-io');
var chip_io = new Chip_io();
var onboardButton = chip_io.OnboardButton();
@c316 so the onboard button support is not published to npm yet, so unless you clone from Gtihub or install via npm install sandeepmistry/node-chip-io
it will not be present.
Please try this and let me know what the result is. Closing this for now.
If I try to use
var chipio = require('chip-io');
I get an errorI think the example is missing some parts in the readme