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

  2. vimark says:

    Thumbs up!

Leave a Reply

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

Recent Comments

  • William Brodie-Tyrrell: It's getting to the point where it's cheaper and definitely easier to use a Pi Zero or similar and a $20 3G USB dongle. Power...
  • KH: IIRC most of the actual operating system of modern HDDs is in one of the platter(s); the stuff on the 25VF010 is a bootup firmware......
  • Trev: I don't know of any inexpensive 3G modules (prices start around $US 50), but it does explain why 2G modules are relatively inexpensive by comparison....
  • Zonie: This site Rocks!
  • Chia: Please and Thank You