Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 59 lines (28 sloc) 0.766 kb
6b5ab5b @rwaldron Rebuild all example program markdown files
authored
1 # Laser
2
3 Run with:
4 ```bash
5 node eg/laser.js
6 ```
7
8
9 ```javascript
10 var five = require("johnny-five"),
11 board, laser;
12
13 board = new five.Board();
14
15 board.on("ready", function() {
16
17 laser = new five.Led(9);
18
19 board.repl.inject({
20 laser: laser
21 });
22 });
23
24 ```
25
26 ## Breadboard
27
28
29
30
5e929ce @rwaldron Example program updates
authored
31
32 ## Devices
33
34
35
36
6b5ab5b @rwaldron Rebuild all example program markdown files
authored
37 ## Documentation
38
39 _(Nothing yet)_
40
41
42
43
44
45
46
47
48
49 ## Contributing
50 All contributions must adhere to the the [Idiomatic.js Style Guide](https://github.com/rwldrn/idiomatic.js),
51 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).
52
53 ## Release History
54 _(Nothing yet)_
55
56 ## License
57 Copyright (c) 2012 Rick Waldron <waldron.rick@gmail.com>
58 Licensed under the MIT license.
Something went wrong with that request. Please try again.