Step 9: Compile and program
You now have a led cube. To make use of it, it needs some software.
I have made a driver for rendering a 3d data space on the cube, and functions to display some cool visual effects on the cube.
You can use my code, write your own or build on my code and make more effects.
If you make your own effects, please send me the code. I'm eager to see what you guys make!
To compile the program. Just open a command promt,
enter the directory with the source code
type "make" on the command line.
If you want to use an ATMega32 instead of the ATMega16, just change the mcu setting in the Makefile and recompile (type make). If you use the m32 and don't do this step, the cube won't boot properly (the red and green lights will keep blinking forever).
You should now have a file named main.hex in the source directory.
The next step will show you how to get that code into your cube.