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: Menu/menu.h
- Revision:
- 6:4c55dd4b6d42
- Parent:
- 4:2deeeeb6c1e1
- Child:
- 7:9e9424f5ec4b
--- a/Menu/menu.h Tue Apr 16 20:15:09 2019 +0000
+++ b/Menu/menu.h Fri May 03 19:17:56 2019 +0000
@@ -1,6 +1,8 @@
-//#ifndef MENU_H
-//#define MENU_H
+#ifndef MENU_H
+#define MENU_H
+
#include <string>
+#include "Gamepad.h"
// star struct needed for the falling number screen flush
struct symbol
@@ -14,7 +16,7 @@
// public part of the class definition
public:
// intro for the welcome function
- void intro(N5110 &lcd);
+ void intro(N5110 &lcd, Gamepad &pad);
// run a short story mode
void story(N5110 &lcd);
@@ -36,8 +38,7 @@
int number_of_sprites;
static int logo0[];
- static int logo1[];
};
-//#endif
\ No newline at end of file
+#endif
\ No newline at end of file