node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »



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