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.cpp
- Revision:
- 25:1d3bf74dddeb
- Parent:
- 22:8e38efeae0c9
--- a/Menu/Menu.cpp Thu May 09 12:46:52 2019 +0000
+++ b/Menu/Menu.cpp Thu May 09 13:43:23 2019 +0000
@@ -50,9 +50,10 @@
// stays in menu until L is pressed //
while (pad.check_event(Gamepad::L_PRESSED) == false){
lcd.clear();
- lcd.printString("MOVE(J-STICK)", 5, 2);
- lcd.printString("10 HEALTH", 20, 3);
- lcd.printString("COLLECT COINS", 3, 4);
+ lcd.printString("MOVE(J-STICK)", 5, 1);
+ lcd.printString("10 HEALTH", 15, 2);
+ lcd.printString("COLLECT COINS", 5, 3);
+ lcd.printString("BACK(L)", 20, 4);
lcd.refresh();
// corrects error with pressing button that was unused //
// which would have an effect when returning to main menu //
@@ -70,9 +71,10 @@
// stays in menu until L is pressed //
while (pad.check_event(Gamepad::L_PRESSED) == false){
lcd.clear();
- lcd.printString("CREATED BY", 10, 2);
- lcd.printString("SPENCER", 10, 3);
- lcd.printString("TINGLE", 10, 4);
+ lcd.printString("CREATED BY", 10, 1);
+ lcd.printString("SPENCER", 20, 2);
+ lcd.printString("TINGLE", 20, 3);
+ lcd.printString("BACK(L)", 20, 4);
lcd.refresh();
// corrects error with pressing button that was unused //
// which would have an effect when returning to main menu //