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

  • Dave B: Got two of them. If you let the battery run flat, they don't charge! You have to pull the battery, and get enough charge in...
  • Bill F: My turn?
  • Chris: Ok!
  • Bob: Free PCB for me!
  • Blars: Yet another meaningless comment.