Yang Zhenye 201199680

Dependencies:   mbed

Revision:
6:4abef55fee88
Parent:
5:fcad75e9b9e1
Child:
8:c02c278320c0
--- a/Menu/Menu.cpp	Thu May 14 14:13:03 2020 +0000
+++ b/Menu/Menu.cpp	Thu May 14 15:55:41 2020 +0000
@@ -59,7 +59,7 @@
 void Menu::init() {
      _state = 0;
      _engine.init(); }
-    
+// starting the menu    
      
 void Menu::run_engine(N5110 &lcd, Gamepad &gamepad) {
     get_input(gamepad.check_event(Gamepad::START_PRESSED),gamepad.check_event(Gamepad::BACK_PRESSED),gamepad.check_event(Gamepad::X_PRESSED));
@@ -85,6 +85,7 @@
   run_engine(lcd, gamepad); }
   else if(_output == 2) {
   display_page3(lcd, gamepad); } }
+  //display the three pages
 
     
 void  Menu::display_page1(N5110 &lcd, Gamepad &gamepad) {