UNPKG

johnny-five

Version:

Firmata based Arduino Programming Framework.

59 lines (28 loc) 775 B
# Laser Run with: ```bash node eg/laser.js ``` ```javascript var five = require("johnny-five"), board, laser; board = new five.Board(); board.on("ready", function() { laser = new five.Led(9); board.repl.inject({ laser: laser }); }); ``` ## Breadboard/Illustration ## Devices ## Documentation _(Nothing yet)_ ## Contributing All contributions must adhere to the [Idiomatic.js Style Guide](https://github.com/rwldrn/idiomatic.js), by maintaining the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](https://github.com/cowboy/grunt). ## Release History _(Nothing yet)_ ## License Copyright (c) 2012 Rick Waldron <waldron.rick@gmail.com> Licensed under the MIT license.