npm install node-sphero
Connect your Sphero to your laptop over bluetooth. At this time only OSX 10.8 has been tested.
Add Sphero to your app:
var roundRobot = require('node-sphero');
var sphero = new roundRobot.Sphero();
sphero.connect();
sphero.on("connected", function(ball){
var rgb = color();
sphero.setRGBLED(0, 255, 0, false);
});
Run that, and your sphero should turn #00FF00... green.
Check out the examples for more ideas.
TODO.. fill in this list...
setBackLED setRGBLED setHeading roll
The rest of the sphero bluetooth api functionality.
Awesome work by Bradley Meck who built the initial version.