Wondering what’s next for npm?Check out our public roadmap! »

    node-slot-car-bot

    0.0.1 • Public • Published

    Node Slot Car Bot

    Automate your Slotcar Set with Javascript

    Usage

    For detailed intructions see the write up on Will Robots Dream.

    NPM install node-slot-car-bot

    var SlotCarSet = require("node-slot-car-bot");
    
    var MySet = new SlotCarSet();
    
    MySet.on("ready", function(){
        var mySet = this;
        var car = mySet.addCar({pin:6});
        car.setSpeed({rate:300});
        car.start();
    });
    

    Examples

    See the examples folder.

    Keywords

    none

    Install

    npm i node-slot-car-bot

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    BSD

    Last publish

    Collaborators

    • avatar