This is a demo of the working code for my LED matrix, which is controlled by an Arduino Mega (google it).
Very basically, this is a low-res computer screen controlled by a PS2 mouse. Moving the mouse causes the lit LED to 'move' across the matrix. When the cursor gets to an edge, my coding tells it to stop at that edge instead of continuing on to another LED.
What makes my coding even better is that it will support any size matrix. You could use a 7x3, 4x4, 6x6, ect, and it would still function the same....the only thing a user has to do is change two variables in the coding
What is demoed here is a paint program I wrote. Holding down the lmb and dragging the mouse will leave a trail of lit LEDs while dragging the cursor over them without holding a button erases them.
There are also two erase functions. The first is the spiral, which was inspired by my childhood playing with KidPix, the second is a simple wipe.
For the code that I wrote, go here: http://electricityandairwaves.blogspot.com/2010/01/finally-i-have-it-up.html
awesome but find better box
WorldGadget 11 months ago
@WorldGadget It was just a fun project, lol. I used what I had, lol.
charlietheanim8tor 8 months ago