grbl-manager
v0.0.1
Published
> manages grbl using yaspm's devices
Downloads
1
Readme
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);