We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm using a raspberry pi.
I have been experimenting with the CylonJS library following the documentation example. However when I run the script I get the following error.
Can anybody help me?
2017-08-07T18:50:16.659Z : [Robot 1] - Starting connections. 2017-08-07T18:50:16.677Z : [Robot 1] - Starting connection 'raspi'. 2017-08-07T18:50:16.705Z : [Robot 1] - Starting devices. 2017-08-07T18:50:16.713Z : [Robot 1] - Starting device 'led' on pin 18. 2017-08-07T18:50:16.720Z : [Robot 1] - Working. events.js:187 throw err; ^ Error: Unhandled "error" event. (Error while creating pin files) at DigitalPin.emit (events.js:185:19) at DigitalPin.<anonymous> (/home/pi/led-project/node_modules/cylon/lib/io/digital-pin.js:117:12) at fs.js:1279:7 at FSReqWrap.oncomplete (fs.js:135:15)
var Cylon = require("cylon"); Cylon.robot({ connections: { raspi: { adaptor: 'raspi' } }, devices: { led: { driver: 'led', pin: 18 } }, work: function(my) { every((1).second(), my.led.toggle); } }).start();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I'm using a raspberry pi.
I have been experimenting with the CylonJS library following the documentation example. However when I run the script I get the following error.
Can anybody help me?
The text was updated successfully, but these errors were encountered: