Created
October 8, 2013 23:56
-
-
Save julianduque/6893880 to your computer and use it in GitHub Desktop.
This file contains 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 five = require('johnny-five'); | |
five.Board().on('ready', function () { | |
var servo = new five.Servo(9); | |
this.repl.inject({ | |
servo: servo | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
node@0.10.20 on Ubuntu and if I commend the repl.inject call the result is the same.
It's weird because works on my machine and other people were able to execute the example but other people not.