ELEC2645 (2018/19) / Mbed 2 deprecated el17ph

Dependencies:   mbed

Revision:
1:679d7ada8de7
Parent:
0:8fb740fa6356
--- a/main.cpp	Sat May 11 14:58:43 2019 +0000
+++ b/main.cpp	Sun May 12 13:43:27 2019 +0000
@@ -14,11 +14,13 @@
 Date:11.05.2019
 */
 
+/////////////// structs /////////////////
 struct UserInput {
     Direction d;
     float mag;
 };
 
+///////////// prototypes ///////////////
 void init();
 void update_game(UserInput input);
 void render();
@@ -27,9 +29,11 @@
 void print_level();
 int quite();
 
+/////////////// objects ///////////////
 N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);  
 Gamepad pad;
 TankEngine Tank;
+///////////// functions ////////////////
 //main function
 int main()
 {