Skip to content

tinkerlog/node-pixel

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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