Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!

Screen shot 2013-01-14 at 8.08.15 AM

It’s the project the Arduino Esplora seemingly was designed to create: a handheld video game. Mike Barela added a 1.8″ display from Adafruit, and adapted the code created by another maker named R0D0T.

I was looking for a game that was more than the basics to show off the Esplora + Display combo. I found R0D0T’s code and with accelerometer, music, and display, it was a great match. As I use the Arduino IDE, I merged the code, changed the display library to Adafruit’s, and recreated a couple library routines that R0D0T had used but had no Adafruit equivalent. Then I had to map the buttons (which required Esplora library calls), and the accelerometer (which I originally used hardware but changed over to library calls). I mapped the SPI interface to the display and it worked! Some small tweeks to color and alignment but it is basically still R0D0T’s original (a tribute to his ninja-coding).

John Baichtal

My interests include writing, electronics, RPGs, scifi, hackers & hackerspaces, 3D printing, building sets & toys. @johnbaichtal

blog comments powered by Disqus