Skip to content

tinkerlog/node-pixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-pixel

Use node.js on a Rpi to flip some RGB pixels.

Prerequisites

Running Raspberry Pi with running Occidentalis v0.2. Other distros might work as well.

Have an Adafruit RGB Pixels (WS2801) strand connected to your Raspi like shown here. Other stripes may or may not work.

Installation

Install node.js. I used a pre-compiled version of v0.8.15.

Checkout node-pixel.

git checkout https://github.com/tinkerlog/node-pixel

You have to rebuild the spi module.

npm rebuild node_modules/spi

Install additional modules.

npm install node-static
npm install socket.io
npm install easing

Demo

Start node.js

sudo node index.js

Point your browser to http://ip.of.your.raspi:8888/index.html.

Have fun.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published