Albert Tan Mulligan Submission

Dependencies:   mbed

Files at this revision

API Documentation at this revision

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 {