This is a Node.js module that lets you write messages on HT1632 LED Message Boards from your Raspberry Pi, using its built in SPI Bus.
It was designed to work with the Raspberry Pi, but it should be easily ported to other platforms that provide an SPI Bus. I use 2 GPIOs to increase the number of Chip Select lines. The whole hardware setup is described here.
How to Install
npm install pi-led
How to Use
var Led = PiLed;
Then create an instance of it:
var led = ;
Now you can write messages:
An event also gets emitted after a message has finished scrolling:
How to setup the hardware
I put together a long post on how I wired the boards together here. By default, the module is configured for 4 LED Modules, each with 32 LEDs across and 8 LEDs high.
To change this, go muck around in pi-led.cpp and then rebuild the module by going into the module directory and typing:
npm build .