4180_Lab4_BIGFISHGAME

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 /media/uploads/hcha30/kakaotalk_photo_2016-03-17-12-17-40_42.jpg
  • You can move around using the touchpad /media/uploads/hcha30/kakaotalk_photo_2016-03-17-12-17-35_37.jpeg

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)
mbeduLCDSpeakermicroSDTouch Keypad
GNDGNDGNDGNDGND
VOUT+VCCVCC
VU+5V
p5DI
p6DO
p7SCK
p8CS
p9RX
p10TX
p11RES
p18-
p26IRQ
p27SCL (4.7K Pullup)
p28SDA (4.7K Pullup)

Demo

Code

Import program4180_lab4_bigfishgame

big fish game


Please log in to post comments.