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:
- 14:66a1965318cb
- Child:
- 16:7c612029d9c9
diff -r cfdfe60a2327 -r 66a1965318cb menu/Menu.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/menu/Menu.h Tue May 19 09:11:48 2020 +0000
@@ -0,0 +1,37 @@
+#ifndef MENU_H
+#define MENU_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+
+/** menu Class
+@date april 2020
+*/
+
+class Menu
+{
+
+public:
+ Menu();
+ ~Menu();
+ void init();
+ int display(N5110 &lcd, Gamepad &pad);
+ void draw(N5110 &lcd);
+ void update(Gamepad &pad);
+ void instructions(N5110 &lcd, Gamepad &pad);
+
+private:
+
+ int option;
+
+ int _height;
+ int _width;
+ int _x;
+ int _y;
+
+};
+
+
+#endif
\ No newline at end of file