If the upload was successful, the board is now prepared and you can close the Arduino IDE.

Attention There is a known issue in where the Firmata protocol layer has issues freeing itself on the serial line which results in the program hanging in when it tries to connect. For now, the only way to get around the issue is to send a SIGINT ^C to kill the hanging program and simply run it again.

Hey you, here's Johnny!

Source Code:

npm package:

Install the module with:

npm install johnny-five

Johnny-Five is...

var five =require("johnny-five"),
board =newfive.Board();
board.on("ready", function() {
// Create an Led on pin 13 and strobe it on/off// Optionall set the speed; defaults to 100ms
(newfive.Led(13)).strobe();
});