Flip Tile
.
Overview
For the mbed mini project I decided to make a tile pattern game where the goal is to turn all the tiles the color green. The project has displays the game on the color LCD screen, while the user navigates on the game board using a 5 way joystick. There is also an extra pushbutton which allows the user to pause/restart the current game, and a speaker/SD file system that plays music in the background. There are 2 different games modes available to choose between, a 3x3 board and a 4x4 board.
Flip Tile Code
Import programFlip_Tile
Flip tile pattern game
Pinout
SD file system
SD | Mbed | |
DO | p6 | |
GND | GND | |
SCK | p7 | |
VCC | Vout | |
DI | p6 | |
CS | p8 |
uLCD
uLCD | Mbed | |
+5V | Vu | |
TX | p27 | |
RX | p28 | |
GND | GND | |
RES | p30 |
Joystick/Push Button
up | p20 | |
center | p19 | |
left | p17 | |
down | p16 | |
right | p15 | |
PB | p21 |
Images and Videos
Please log in to post comments.