Programming a LED Cube with Arduino Mega 1280 using Shift Register CAT4016(W).

Hello, I am programming a LED cube (5x5x5) using Shift Register (CAT4016W) on a circuit board LED Cube Matrix Driver

I have a program that works, but I want to program it myself, to display what I want it to show, but I’m new to C/C++, I’ve found some links to programs, but it seems I can’t make it work for the CAT4016W chip.

The Code I’m running at the moment, from this thread http://forum.arduino.cc/index.php/topic,8757.0.html :

What I ask for is, is it possible to get a code and maybe a few hints to program it? I can’t see what i can delete/remove from the program, to still make it work.

Moving this thread to "LEDs and Multiplexing".

http://forum.arduino.cc/index.php?topic=191553.0