Created
February 28, 2015 19:20
-
-
Save beriberikix/a1e10cf44bbc03adf2cc to your computer and use it in GitHub Desktop.
Testing raspi-io
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var raspi = require('raspi-io'); | |
var five = require('johnny-five'); | |
var board = new five.Board({ | |
io: new raspi() | |
}); | |
board.on('ready', function() { | |
var on = new five.Pin(8); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pi@homeautomat ~/lutron-five $ sudo node index.js
1425151147818 Device(s) RaspberryPi-IO
1425151147987 Connected RaspberryPi-IO
1425151148090 Repl Initialized