0.0.13 • Published 10 years ago

simple-sphero v0.0.13

Weekly downloads
5
License
-
Repository
github
Last release
10 years ago

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.

0.0.13

10 years ago

0.0.12

10 years ago

0.0.10

10 years ago

0.0.8

10 years ago

0.0.6

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago