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.
Dependents: DCGame el14m2l_Dungeon_Crawler_Game
Auto generated API documentation and code listings for main
| main.cpp [code] | Member functions implementations |
| main.h [code] | Header file containing function prototypes, defines and global variables for the main.cpp file |
Namespaces
| b_button | GPIO input for the button on the PCB |
| b_led | GPIO output for the on-board blue LED |
| background | Background to add scenery to the BG sub-array |
| bat1 | Animation for the bat_middle array, bat_open array and bat_close array |
| bat2 | Animation for the bat_middle array, bat_open array and bat_close array |
| bat3 | Animation for the bat_middle array, bat_open array and bat_close array |
| bat4 | Animation for the bat_middle array, bat_open array and bat_close array |
| bat5 | Animation for the bat_middle array, bat_open array and bat_close array |
| buzzer | GPIO output for music |
| fp | FILE pointer to allow file access from the SD card |
| g_led | GPIO output for the on-board green LED |
| js_button | GPIO input for the button on the joystick |
| js_pot_x | GPIO input for the x-axis potentiometer on the joystick |
| js_pot_y | GPIO input for the y-axis potentiometer on the joystick |
| lcd | GPIO inputs and outputs for the visual display |
| player | Animation for the player_still array, player_moving1 array and player_moving2 array |
| player_jumping_obj | Object for the player_jumping array |
| player_moving1_obj | Object for the player_moving1 array |
| player_moving2_obj | Object for the player_moving2 array |
| player_still_obj | Object for the player_still array |
| pointer_obj | Object for the pointer array |
| r_led | GPIO output for the on-board red LED |
| screen | A three dimensional array for allowing seperate sections of the two dimensional lcd |
| sd | GPIO inputs and outputs for the SD card |
| spike_large_obj1 | Object for the spike_large array |
| spike_large_obj2 | Object for the spike_large array |
| spike_small_obj1 | Object for the spike_small array |
| spike_small_obj2 | Object for the spike_small array |
| spike_small_obj3 | Object for the spike_small array |
| sw2 | GPIO input for the on-board switch |
| sw3 | GPIO input for the on-board switch |
| update_flag | Ticker to execute the flag update |