ELEC2645 (2018/19) / Mbed 2 deprecated el17dtt

Dependencies:   mbed

Revision:
3:f686f6d7bdff
Parent:
1:3183193cf44e
Child:
4:2deeeeb6c1e1
diff -r 649c084fc027 -r f686f6d7bdff main.cpp
--- a/main.cpp	Mon Apr 08 19:31:34 2019 +0000
+++ b/main.cpp	Wed Apr 10 08:00:16 2019 +0000
@@ -15,12 +15,18 @@
 Date: 12.03.2019
 */
 
-// consytucting the gamepad
+
+/////////////// structs /////////////////
+
+
+/////////////// objects ///////////////
+N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
 Gamepad gamepad;
 
-// constructing the lcd 
-N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
+///////////// prototypes ///////////////
 
+
+///////////// functions ////////////////
 int main() {
     // initialize the gamepad
     gamepad.init();
@@ -34,8 +40,7 @@
            // refresh the screen
             lcd.clear();
             
-            // draw the big circle
-            //lcd.drawCircle(42,64,35,FILL_TRANSPARENT);
+
             Menu menu;
             menu.startMainMenu(lcd);