NodeJS nerf turret api
Compatible with the Dream Cheeky 908 model.
Install
$ npm install --save nerf-turret
Usage
var nerfTurret = turret = ; turret;
Pairing with a remote turret: You can use a socket.io server to pair with a remote turret, you will need a listener script connected to both the socket and the turrent and a remote script connected to the socket: Example Listener:
var nerfTurret = turret = socketServer:'http://localhost:9000/' listening: true ; console;
Example remote turret usage:
var nerfTurret = turret = socketServer:'http://localhost:9000/' ; turret;