Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.2 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.2 KB

xy-server

raspberry pi node.js server for makeblock XY plotter v2.0

Installation

svn export https://github.com/arnaudjuracek/xy-server/trunk xy-server
cd xy-server
npm install

Follow this rpi-setup-guide for the Raspberry PI setup.

Usage

server side
node xy-server
client side

Either use the web interface, or :

var plotter = require('./../index.js')();
var job = plotter.Job('my-job');

var server = plotter.Server('192.168.0.17');
server.queue(job, (success) => {
  if (success) console.log('job successfully queued');
});

See arnaudjuracek/xy for more details.

Development

npm run dev

License

MIT.