Categories

Tetris on a 16×8 LED matrix display

Posted on Wednesday, June 13th, 2012 in project logs by DP

Graham designed a portable Tetris game on a PIC18F4520. It uses two 8×8 LED matrices as a display, and 4 buttons for control:

The 64 LEDs and four buttons are controlled by a single PIC (18LF4520) and two AA batteries. The source code operates very efficiently, and the program is extremely responsive. I was worried about the latter as I was determined to use algorithm based graphic rotations as compared to predefined constants. From here I could use a similar approach to create other interactive games!

This entry was posted on Wednesday, June 13th, 2012 at 3:30 pm and is filed under project logs. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

3 Responses to “Tetris on a 16×8 LED matrix display”

  1. exapod says:

    Awesome, i will try to port the code for my matrix display http://dangerousprototypes.com/forum/viewtopic.php?f=56&t=4146

  2. vimark says:

    Thumbs up!

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Sjaak: In theory the buspirate can also do SWD or JTAG as it just wiggling some pins. I dunno if the speed and memory is sufficient...
  • Drone: Aw, how-come Bus-Pirate can't do all this too?
  • Siddharth: Grate
  • jeanmarc78: hello
  • KH: So I guess, don't mind us dinosaurs too much. Someone like me will get triggered by some of the things Arduino folks do. There's just...