ELEC2645 (2018/19) / Mbed 2 deprecated el18sf

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
fusihui
Date:
Thu May 09 14:03:04 2019 +0000
Parent:
0:19e5a063d7ea
Commit message:
pinball

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu May 09 04:28:26 2019 +0000
+++ b/main.cpp	Thu May 09 14:03:04 2019 +0000
@@ -11,25 +11,25 @@
 #define PADDLE_WIDTH 12
 #define BLOCK_SIZE 8
 
-//struct
+/////////////// structs /////////////////
 struct UserInput 
 {
     Direction d;
 };
 
-//objects
+/////////////// objects ///////////////
 N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
 Gamepad pad;
 Engine engine;
 
 
-// Prototypes
+///////////// prototypes ///////////////
 void init();
 void display();
 void start();
 
 
-//main functions
+///////////// functions ////////////////
 int main()
 {