Step 9Compile and program
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.
| « Previous Step | Download PDFView All Steps | Next Step » |
















































MCUCSR |=(1<MCUCSR |=(1<
If using the Main.c file Make sure to add the following code before your while(1) loop otherwise port c2, c3, c4, and c5 wont light up
I know, that last post was in 2008, but can you explain me why when i'm klicking "4x4x4_ledcube.hex" suddenly i am downloading something like : F6JRI6AFJ1I6CP0.tmp???? please so much help me...
mine is deborah1002@hotmail.com
Thanks,
Pachim
The thing that I am struggling with is to make a better output driver than I had. On the old one I just hard coded everything into the chip. With this I'd like to be able to send strings and patterns to it wirelessly somehow, but I'm not that good of a programmer yet so I'm working on that now =)
Thanks
plz mail me step by step procedure to make it....on my mail id nikhil.patankar390@gmail.com
thanku..............its a awesum project..........i want to make it
Regards
Uttam
i created a fork of your code at git@codaset.com:googl1/led-cube.git
i did some improvements, bugfixing and started implementing some new effects.
rick
http://share.ddf-software.de/main.hex
git@codaset.com:googl1/led-cube.git
i also fixed the random effects thing and improved the random numbers by creating a seed to init rand()
rick
send: andrejmdias@gmail.com
thanks
Bartjeeh@linux-b5pm: cd /home/Bartjeeh/Desktop/4x4x4_ledcube
Bartjeeh@linux-b5pm:~/Desktop/4x4x4_ledcube> make
If 'make' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf make
in that folder are the following files
file:///home/Bartjeeh/Desktop/4x4x4_ledcube/F6JRI6AFJ1I6CP0.tmp
file:///home/Bartjeeh/Desktop/4x4x4_ledcube/Makefile
file:///home/Bartjeeh/Desktop/4x4x4_ledcube/draw.c
file:///home/Bartjeeh/Desktop/4x4x4_ledcube/effect.c
file:///home/Bartjeeh/Desktop/4x4x4_ledcube/frames.c
file:///home/Bartjeeh/Desktop/4x4x4_ledcube/main.c
if anyone could help me please!!!
how do you exchange from *.c to *. hex. i don't known software that.
can you help me.
thank! very much.