-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
this is my button.js:
var Cylon = require('cylon');
Cylon.robot({
connections: {
pcduino: { adaptor: 'pcduino }
},
devices: {
button: { driver: 'button', pin: 2 }
},
work: function(my) {
my.button.on('push', function() {
console.log("Button pushed!");
});
}
}).start();
$node button.js
TypeError:Cylon.IO.Utils.every is not a function
Why? Is the pin.js file wrong?Looking forward to your reply.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels