nopixel

1.0.0 • Public • Published

Nopixel

An easy way to control interactive displays

Installation

npm install nopixel

Usage

    var Nopixel = require('nopixel');
    var nopixel = new Nopixel('/path/to/config.json');

    nopixel.on('clicked', function(eventDetail) {
        nopixel.setPixel(eventDetail.x, eventDetail.y, "red").update();
    })

Buttons should turn red when you press them.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i nopixel

    Weekly Downloads

    3

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    6.17 kB

    Total Files

    3

    Last publish

    Collaborators

    • nhtranngoc