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: mbed
Diff: main.cpp
- 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);