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
Revision 24:19994f789276, committed 2020-05-27
- Comitter:
- Albutt
- Date:
- Wed May 27 00:57:33 2020 +0000
- Parent:
- 23:9610a8f91336
- Commit message:
- Testing Documentation
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue May 26 23:41:09 2020 +0000
+++ b/main.cpp Wed May 27 00:57:33 2020 +0000
@@ -10,7 +10,7 @@
Date:10/4/2020
*/
-// includes
+// INCLUDES
#include "mbed.h"
#include "Gamepad.h"
#include "N5110.h"
@@ -68,7 +68,7 @@
//FUNCTIONS
int main() //pc.printf("Main Open");
{
- pad.init(); //initial setups
+ pad.init(); //initial setups
lcd.init();
lcd.clear();
//pc.printf("CoolTerm is Connected\n");
@@ -191,7 +191,7 @@
lcd.clear();
lcd.printString("YOU DIED",18,1);
char buffer[14];
- if(score > 10) { //score displays differently if below 10 to make sure the text is centered
+ if(score >= 10) { //score displays differently if below 10 to make sure the text is centered
sprintf(buffer, " Score:%d", score);
lcd.printString(buffer,0,2);
} else {