Custom Game Controllers assembled in lab sessions and mounted with Nokia N5110 LCD display and a FRDM-K64F mbed plus various buttons, a joystick, potentiometer and piezo. Designed a game called 'Fruit Basket' to be played on the game controller where the player controls a basket and moves it catch objects that fall from random points along the top of the display to collect score.
Dependencies: Basket Catch_Model Fruit Gamepad N5110 Objects mbed
Diff: Project_Submission.cpp
- Revision:
- 5:136b13a9b8b5
- Parent:
- 4:039294e6a8a5
- Child:
- 7:32afc46c30f3
diff -r 039294e6a8a5 -r 136b13a9b8b5 Project_Submission.cpp --- a/Project_Submission.cpp Thu Mar 23 15:28:52 2017 +0000 +++ b/Project_Submission.cpp Mon Mar 27 18:33:52 2017 +0000 @@ -66,7 +66,7 @@ lcd.printString(" Press Start ",0,2); lcd.refresh(); - while ( pad.check_event(Gamepad::START_PRESSED) == false) { + while (pad.check_event(Gamepad::START_PRESSED) == false) { pad.leds_on(); wait(0.1); pad.leds_off();