Miss any of our Open RFC calls?Watch the recordings here! »

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.

Install

npm i nopixel

DownloadsWeekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

6.17 kB

Total Files

3

Last publish

Collaborators

  • avatar