ELEC2645 (2017/18) / Mbed 2 deprecated el16a2t

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
el16a2t
Date:
Tue May 08 14:58:49 2018 +0000
Parent:
16:b0fb01fc21f8
Commit message:
Final commit. I have read and agreed to the statement of academic integrity.

Changed in this revision

gameEngine/gameEngine.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/gameEngine/gameEngine.cpp	Tue May 08 14:42:37 2018 +0000
+++ b/gameEngine/gameEngine.cpp	Tue May 08 14:58:49 2018 +0000
@@ -107,7 +107,7 @@
 
     score++;//increase score
 
-    sprintf (str, "%d", (score/10)); //convert an integer to pointer
+    sprintf (str, "%d", (score/10)); //convert an integer to pointer.
     lcd.printString(str,64,1); //display score
 
     //constantly update score on the screen: