grbl-manager

0.0.1 • Public • Published

grbl-manager

manages grbl using yaspm's devices

Being device a yaspm's device:

var grbl = new Grbl(device);
 
grbl
  .init()
  .on('status', function (status) {
    console.log(status);
  })
  .on('error', function (err) {
  console.log(err);
  }).on('ok', function () {
    console.log('ok');
  });
 
setTimeout(function () {
  grbl.process('G1 X10 Y10\n');
}, 300);
 
tmr = setInterval(function () {
  grbl.process('?\n');
}, 300);

Readme

Keywords

none

Package Sidebar

Install

npm i grbl-manager

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • cirocosta