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

  • Joshua: Will be put to good use
  • Brett: free
  • ALeggeUp: First try
  • DrObscure: Me three..
  • IWAN NAWI: PCB Sunday, right here on the blog . http://dangerousprototypes.com/blog/2016/08/28/free-pcb-sunday-pick-your-pcb-264/