Hacks for Sphero using Cylon.js Driver Documentation: http://cylonjs.com/documentation/drivers/sphero/ Sphero Documentation: http://orbotixinc.github.io/Sphero-Docs/
- enable bluetooth and connect to Sphero
cd
intoSphero
directory- install Coffee Script using Node.js
npm install -g coffee-script
- run
coffee sphero.coffee
- once your computer connects to sphero it will display
Driver sphero started
- use keyboard to run the different commands
0-9
- changes color of the spherob
- activates the backlightd
- rolls sphero to set headingspacebar
- stops spheroleft arrow
- sets heading of sphero-15
degreesright arrow
- sets heading of sphero+15
degreesdown arrow
- rolls sphero to opposite of set headingx
- exit and disconnect from sphero
f
- runs flirt command, sphero rolls forward for specified seconds, flashes red and pink, then rolls backa
- runs angular command, sphero draws the ng-conf logo