spheron-accel
Stream accelerometer data from your Sphero using the spheron module.
Note that this module uses the Set Data Streaming command, which will overwrite any previous calls and any future calls will stop the accelerometer data stream;
Example
var sphero = accel = ; sphero; sphero;
API
accel(sphero, options)
Given a sphero
object (created by the spheron module), start
reading accelerometer data and return a stream that will emit the
values.
Options:
- rate: Number of data samples read per second (default 10)
Installation
npm install spheron-accel