Previously, I had an Arduino kit running on the same hardware as Breakout, but I would like to upgrade to Johnny Five . My equipment is connected using a simple single LED layout from http://weblog.bocoup.com/javascript-arduino-programming-with-nodejs/ , but starting the basic LED strobe demo does not work properly:
var five = require("johnny-five"), board, led; board = new five.Board(); board.on("ready", function() { console.log('ready'); led = new five.Led(13); led.strobe(100); });
Return:
1341154189666 Board Connecting... 1341154189697 Serial Found possible serial port cu.usbmodem621 1341154189699 Board -> Serialport connected cu.usbmodem621 1341154191570 Repl Successfully Connected
I end right in Firmata REPL without gating LEDs, and board.ready is false .
Any suggestions as to why the board.ready callback will not work?
source share