4180_Lab4_BIGFISHGAME
Page last updated 17 Mar 2016, by
0
replies
.
Overview
mbed version of the BIF FISH GAME!
How to play
- Your goal is to score 5 by eating green planktons
- You are the orange fish in the middle of the uLCD.
- You die if you get hit by the black fish
- You can move around using the touchpad
Connections
- mbed LPC1768
- uLCD-144-G2 128 by 128 Smart Color LCD
- Sparkfun Speaker 8ohm .5W (with 1K ohm pullup resistor and 2N3904 transistor)
- SparkFun microSD Transflash Breakout
- Sparkfun MPR121 Capacitive Touch Keypad (with 4.7K pullup resistors)
mbed | uLCD | Speaker | microSD | Touch Keypad |
---|---|---|---|---|
GND | GND | GND | GND | GND |
VOUT | + | VCC | VCC | |
VU | +5V | |||
p5 | DI | |||
p6 | DO | |||
p7 | SCK | |||
p8 | CS | |||
p9 | RX | |||
p10 | TX | |||
p11 | RES | |||
p18 | - | |||
p26 | IRQ | |||
p27 | SCL (4.7K Pullup) | |||
p28 | SDA (4.7K Pullup) |
Demo
Code
Import program4180_lab4_bigfishgame
big fish game
Please log in to post comments.