I started this project some years ago in order to learn about running matrix LED displays. The circuit uses10 io from a PIC16F628 to run 64 LEDs configured in an 8x8 LED matrix. The display is refreshed every 8ms or so giving a refresh rate of ~125Hz which is not to shabby considering the PIC is only running on the 4MHz internal oscillator. In order to prevent the PICs IO from having to drive the LEDs directly two 74HC574 latches were used to drive the rows and the columns. A 1ms interrupt is used to updated the displaygiving the main loop the responsibility of updating the game. The main loop edits a buffer of the displayed data and they the interrupt is disabled during the display RAM update process. This prevents the screen from displaying artifacts during the drawing process.
Link to this comment:
All Comments (0)