grbl

grbl repl / library

npm install grbl
22 downloads in the last week
24 downloads in the last month

node-grbl

Communicate with grbl running on an arduino

Use

Global

npm install -g grbl
grbl

now you have a repl to your machine!

Library

npm install grbl

Basic example


var grbl = require('grbl');

grbl(function(machine) {
  process.stdin.pipe(machine);
  process.stdin.resume();
  machine.on('line', function(line) {
    process.stdout.write('line:' + line + '\n');
  });
});

License

MIT

npm loves you