reflecta_rbot1

0.1.0 • Public • Published

reflecta_rbot1

reflecta_rbot1 binds the functions animation, fire, light, pan, tilt, compressor, and valve to the rbot1 interface. This is the Arduino library for RocketBot, a pneumatic rocket launching robot.

Stability: Medium

Calling reflecta_rbot1 from NodeJS

Simply load reflecta using

npm install reflecta
var reflecta = require('reflecta');
 
reflecta.detect(function(error, boards, ports) {
 
    board = boards[0];
 
    if (board.rbot1) {
        board.rbot1.animation('1'); // play animation 1, 'moving'
    }
});

Reflecta will use npm to install and load this library automatically if the Arduino exposes the 'rbot1' interface.

A simple but complete example can be found in the node-reflecta project.

Release History

  • 0.1.0

Readme

Keywords

none

Package Sidebar

Install

npm i reflecta_rbot1

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • jaybeavers