December 14, 2012 AT 10:00 am

Chip-8 in Python on Raspberry Pi with OLED display #piday #raspberrypi @Raspberry_Pi

Here’s a great project using the Adafruit SSD1307 OLED display:

Guy Carpenter ported Adafruit’s SSD1306 OLED display driver code into Python and made it run on the Raspberry Pi using spidev and WiringPi. I call into Guy’s code when drawing the pixels in my Chip-8 emulator, with the result that a teeny-tiny Chip-8 screen now appears on the OLED display!

Also seen – the Adafruit Pi Box and Pi Cobbler. Full credits and website addresses given at the end of the video! Apologies for the blurry picture, my phone wouldn’t focus on the OLED display properly. :-/

Also, I forgot to mention, the emulator is using the pygame library to output to the main screen… sorry, that’s not in the end credits!

Read more.


998Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.

Want a FREE RASPBERRY PI? All orders over $350 get a FREE Raspberry Pi Model B with 512MB RAM!

Related

No Comments

No comments yet.

Sorry, the comment form is closed at this time.