I can't seem to connect to my bean. I have loaded the Standard Firmata altered for Bean and that went just fine. LED on-board blinked when complete and success messages all around from the Loader and Arduino apps.
I have the following code:
var five = require( 'johnny-five' );
var bean = require( 'bean-io' );
var myBean = new bean.Board();
var board = new five.Board({
io: myBean
});
board.on( 'ready', function() {
console.log( 'connected' );
//var led = new five.Led({ pin: 13 });
//led.blink();
});
Which produces the following output:
1423578301219 Device(s) bean
set color undefined
writing buffer: <Buffer f9>
writing buffer: <Buffer f0 79 f7>
1423578315255 Device or Firmware Error A timeout occurred while connecting to the Board.
Please check that you've properly flashed the board with the correct firmware.
TypeError: Uncaught, unspecified "error" event.
at TypeError (<anonymous>)
at Board.emit (events.js:74:15)
at Board.<anonymous> (/Users/jacobroufa/Repos/beanTest/node_modules/johnny-five/lib/board.js:377:12)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
I can't seem to connect to my bean. I have loaded the Standard Firmata altered for Bean and that went just fine. LED on-board blinked when complete and success messages all around from the Loader and Arduino apps.
I have the following code:
Which produces the following output: