Jahanzeb Khan / Mbed 2 deprecated ELEC2645_Project_el19jak

Dependencies:   mbed

Revision:
2:430dcf420840
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/functions/functions.cpp	Fri Jun 05 22:51:49 2020 +0000
@@ -0,0 +1,16 @@
+#include "functions.h"
+
+Functions::Functions()
+{
+}
+
+Functions::~Functions()
+{
+}
+
+void Functions::output_score(N5110 &lcd, Gamepad &pad, Body &body, Food &food)
+{
+    char buffer2[12];
+    sprintf(buffer2,"score = %2d",body.score);
+    lcd.printString(buffer2,0,1);
+}
\ No newline at end of file