Video Games, Arduino


By , 2013/01/14 @ 11:30 am

Screen shot 2013-01-14 at 8.08.15 AM

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).

Like this:

  • Whats Your Tag?

Article source: http://feedproxy.google.com/~r/makezineonline/~3/u4GDGhtt4Gw/