Natural Pleistocene Monsters
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    reflecta_rbot1public

    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

    Keywords

    none

    install

    npm i reflecta_rbot1

    Downloadslast 7 days

    1

    version

    0.1.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar