Welcome, Guest
Username: Password: Secret Key Remember me

TOPIC: Tetris on a PIC Microcontroller

Re: Tetris on a PIC Microcontroller 9 years 1 month ago #15243

The topic has been locked.

Re: Tetris on a PIC Microcontroller 8 years 6 months ago #5512

  • Jon Chandler
  • Jon Chandler's Avatar
  • Offline
  • Moderator
  • Posts: 365
  • Thanks received: 352
Graham made it to Hack-a-Day! Way to go Graham!

http://hackaday.com/2010/06/20/tetris-c ... explained/
The topic has been locked.

Re: Tetris on a PIC Microcontroller 8 years 6 months ago #5513

Nice. The PIC will run with just 3.0V directly from the batteries? Is it a 3.3V device?
The topic has been locked.

Re: Tetris on a PIC Microcontroller 8 years 6 months ago #5514

O nice Jon, thanks for the update That's my first time on Hack-a-Day!
Nice. The PIC will run with just 3.0V directly from the batteries? Is it a 3.3V device?
That's correct Steve - When buying from Microchip, simply get the "L" version of the PIC you want. In my case it was the 18LF4520.

The above PIC will run at 8 million instructions per second on battery power.
The topic has been locked.

Re: Tetris on a PIC Microcontroller 8 years 6 months ago #5515

Fantastic project Graham!

Thanks for sharing this with us all. I'm looking forward to making this with my son as his first micro project.

As we have heaps of them, we will be using LED's instead of LED matrix's, I'm trying to work out the polarity of the ones used in your schematic, do the Y's represent the Anodes or Cathodes of the LED's please?

thanks!
The topic has been locked.

Re: Tetris on a PIC Microcontroller 8 years 6 months ago #5516

do the Y's represent the Anodes or Cathodes of the LED's please?
The devices I was using were common cathode types. 16-bits of row (Y) data are shifted in and then the appropriate column (X) is enabled. With that said, it is extremely easy to use either common anode/cathode devices - just a couple of minor edits.
The topic has been locked.
Time to create page: 0.257 seconds