Code for my LedTable, an 8x12 rgb led string based table using WS2801 chips and controlled by and Arduino using a RPi for internet connectivity and higher level functionality.
The Arduino code requires the Adafruit WS2801 Library and contains modifications to the included example code to combine the examples for use as a header file.
This program runs on an Arduino Uno using 50pc WS2801 based RGB LEDS similar to these http://www.adafruit.com/products/322
The code compiles in Eclipse when set up for Arduino following these instructions http://www.baeyens.it/eclipse/ and might compile using the Arduino IDE if renamed to .ino but this is untested and changes are probably needed.
======== The Java app for the Raspberry pi to control the Arduino requires the Pi4J library.
The Raspberry Pi connects to the Arduino via the USB port. This is the simplest connection type available. The app requires Java which is included in newer Raspbian releases and must be run with sudo.