Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: N5110 PinDetect PowerControl mbed
Simple platform game developed for ELEC2645 Embedded Systems Project at University of Leeds. More...
Go to the source code of this file.
Functions | |
| AnalogIn | ledPot (LED_POT) |
| Brightness potentiometer. | |
| void | init () |
| Set up initial variables. | |
| void | cleanUp () |
| Frees remaining allocated memory. | |
| LocalFileSystem | local ("local") |
| Local file system. | |
| unsigned int | getRandSeed () |
| Function for generating a random seed by using a unconnected analog input pin. | |
| void | readHighscoreFile () |
| Read and load the high score file. | |
Variables | |
| N5110 * | lcd |
| Display. | |
| Sound * | sound |
| Sound: Piezo buzzer. | |
| InputManager * | input |
| Responsible for managing user input. | |
| StateManager * | fsm |
| Finite state machine. | |
Detailed Description
Simple platform game developed for ELEC2645 Embedded Systems Project at University of Leeds.
- Date:
- April/May 2015
Definition in file main.cpp.
Function Documentation
| unsigned int getRandSeed | ( | ) |
Function for generating a random seed by using a unconnected analog input pin.
Get a random seed based on unconnected analog input pins.
| AnalogIn ledPot | ( | LED_POT | ) |
Brightness potentiometer.
| LocalFileSystem local | ( | "local" | ) |
Local file system.
| void readHighscoreFile | ( | ) |
Variable Documentation
Generated on Tue Jul 12 2022 21:59:48 by
1.7.2