1.0.0 • Published 6 years ago

nopixel v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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.