Hello World!

Microcontrollers and SoC platforms like to say "Hello World" with a simple blinking LED; the following demonstrates how to do this with the Johnny-Five framework.

var five = require("johnny-five"); var board = new five.Board(); board.on("ready", function() { var led = new five.Led(13); led.blink(500); });

* There are likely to be other steps involved in preparing your target platform, the best place to start is by looking at Platform Support.