Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 35 lines (22 sloc) 0.446 kB
9a66e48 @tmpvar simplify, streamify, and use serialport-manager (0.0.3)
authored
1 # node-grbl
2
3 Communicate with grbl running on an arduino
4
5 ## Use
6
7 ### Global
8
9 npm install -g grbl
10 grbl
11
12 now you have a repl to your machine!
13
14 ### Library
15
16 `npm install grbl`
17
18 #### Basic example
19 ```javascript
20
21 var grbl = require('grbl');
22
23 grbl(function(machine) {
24 process.stdin.pipe(machine);
25 process.stdin.resume();
26 machine.on('line', function(line) {
27 process.stdout.write('line:' + line + '\n');
28 });
29 });
30
31 ```
32
33 ## License
34
35 MIT
Something went wrong with that request. Please try again.