UNPKG

johnny-five

Version:

Firmata based Arduino Programming Framework.

41 lines (21 loc) 818 B
# Tinkerkit Blink Run with: ```bash node eg/tinkerkit-blink.js ``` ```javascript var five = require("johnny-five"); new five.Board().on("ready", function() { new five.Led("O0").strobe(250); }); ``` ## Breadboard/Illustration ![docs/breadboard/tinkerkit-blink.png](breadboard/tinkerkit-blink.png) - [TinkerKit Led](http://www.tinkerkit.com/led-red-10mm/) - [TinkerKit Shield](http://www.tinkerkit.com/shield/) ## 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). ## License Copyright (c) 2012 Rick Waldron <waldron.rick@gmail.com> Licensed under the MIT license.