UNPKG

rollo

Version:

The Rollo programming language for the Orbotix Sphero robot using Node.js and Cylon.js

17 lines (11 loc) 262 B
var Cylon = require('cylon'); var myMainApp = require('./main.js').main; Cylon.robot({ connections: { sphero: {adaptor: 'sphero', port: '/dev/tty.Sphero-ROB-AMP-SPP'} }, devices: { sphero: {driver: 'sphero'} }, work: myMainApp }).start();