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.
Diff: MenuClasses/Tutorial/Tutorial.cpp
- Revision:
- 62:ebf6ecf8a6d5
- Parent:
- 61:f3c402bc2ad0
- Child:
- 69:55e309da7efd
--- a/MenuClasses/Tutorial/Tutorial.cpp Tue Apr 30 08:32:30 2019 +0000
+++ b/MenuClasses/Tutorial/Tutorial.cpp Tue Apr 30 14:53:38 2019 +0000
@@ -2,12 +2,12 @@
Tutorial::Tutorial()
{
-
+
}
Tutorial::~Tutorial()
{
-
+
}
int g_pad[27][44] = {
@@ -204,8 +204,8 @@
}
void Tutorial::gamePad(N5110 &lcd, Gamepad &pad)
-{
- while ((pad.check_event(Gamepad::START_PRESSED) == false)&&(pad.check_event(Gamepad::A_PRESSED) == false)) { //if button pressed.
+{
+ while ((pad.check_event(Gamepad::START_PRESSED) == false)&&(pad.check_event(Gamepad::A_PRESSED) == false)) { //if button pressed.
lcd.drawSprite(20,0,27,44,(int *)g_pad); //Function used to draw the sprite.
lcd.printString("This is your",7,4);
lcd.printString("GamePad",22,5);