Skip to content

Node.js port of Gordon Henderson's (Drogon) Tux Crossing tutorial for the Raspberry Pi

Notifications You must be signed in to change notification settings

meyertee/node-tuxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-tuxx

Node.js port of Gordon Henderson's (Drogon) Tux Crossing tutorial for the Raspberry Pi.

It uses onoff to write & read to/from the GPIO pins.

To run it you need to export the pins as superuser:

sudo node export-gpio.js

Then start with:

node node-tuxx.js

The program uses the Rev. 2 GPIO numbering scheme of the RPi, so make sure the numbers are correct by editing gpio-pins.js.

Once you're done and you wish to unexport the gpio pins in use (see onoff for details):

sudo node unexport-gpio.js

Many thanks to Drogon for the excellent tutorial & to fivdi for onoff.

About

Node.js port of Gordon Henderson's (Drogon) Tux Crossing tutorial for the Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published