Step 9Python makes it easy...
first dig up a video file that you want to use ( i used Futurama s05e10 the Farnsworth Paradox )
second generate a bunch of jpegs. to do so type this is an empty directory:
mplayer -ss 00:17:20 -vo jpeg:quality=50 ~/tv/futurama.mpgthe '-ss 00:17:20' seeks to 17 minutes 20 seconds in the file (funny part) and the '-vo jpeg:quality=50' tells mplayer that you want to output mid quality jpegs instead of say, video on your screen. i never tested that quality setting, but given what comes next i don't think it matters.
third run this handy python script: `python ./led_matrix_formatted_data.py ./*.jpg` to create the "RGout.t" file, which is full of data to paste into the c code file.
fourth copy and paste the contents of RGout.t into led_matrix_template.c, and save it as matrix.c.
fifth compile and load the program onto your avr with a programmer. be sure to check the makefile to set the type of programmer you have! (btw i didn't write that makefile, i found it on google and modified it.)
sixth watch pixelly cartoons!
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|












































