simple-sphero

0.0.13 • Public • Published

simple-sphero

Implements very basic controls for Sphero.

example

var simple = require("simple-sphero")(/path/to/dev, 0xSPEED);

simple.left();
simple.forward(1);

This will turn left and go forward for 1 second.

Chainable

simple
  .left()
  .forward(1)
  .left()
  .forward(1)
  .right()
  .forward(1);
  .right()
  .forward(1)
  .stop();

The chaining automatically takes care of asyncing calls after forward(n) for n time.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.13
    0
    • latest

Version History

Package Sidebar

Install

npm i simple-sphero

Weekly Downloads

0

Version

0.0.13

License

BSD-2-Clause

Last publish

Collaborators

  • morganrallen