Tank Dodger
Game Overview
The objective of this game is to move the tank and dodge all of the red balls. If the tank is hit by the red ball, the player loses a life. If the player collects a blue ball, the gain a life. The game uses a uLCD to display the graphics, a speaker to play game sounds and a touchpad to to move the tank left/right and to shoot a bullet.
ULCD Hookup
uLCD pin | MBED pin |
---|---|
+5V | Vu |
RX | p14 |
TX | p13 |
GND | GND |
RES | p15 |
Touchpad Hookup
MPR121 | MBED pin | Pullup Resistors |
---|---|---|
GND | GND | |
SDA | p9 | 4.7K ohm - from p9/SDA to Vout (not in series!) |
SCL | p10 | 4.7K ohm - from p9/SCL to Vout (not in series!) |
IRQ | p26 | |
VCC | Vout (3.3V) |
Information
Guide for hooking up speaker
https://developer.mbed.org/users/4180_1/notebook/using-a-speaker-for-audio-output/
Please log in to post comments.