Simple fish eat program

Dependencies:   mbed mbed-rtos N5110 ShiftReg Tone

Revision:
11:7c1e2a9303d3
Parent:
2:532b0225519f
Child:
12:20ac766b3175
diff -r e221bd1ce3ec -r 7c1e2a9303d3 classes/HighScore.h
--- a/classes/HighScore.h	Tue Apr 20 15:35:00 2021 +0000
+++ b/classes/HighScore.h	Wed Apr 21 11:08:02 2021 +0000
@@ -1,12 +1,27 @@
 #ifndef HIGHSCORE_H
 #define HIGHSCORE_H
 
+#include "mbed.h"
 #include "N5110.h"
 
 class HighScore {
-    void viewScores(N5110 &lcd);
-
 public:
+    //display value in file
+    void display_File(N5110 &lcd);
+    
+    //amend file
+    void write_File(int score);
+    
+    //read from file
+    int read_File();
+    
+private:
+    char writeScore1[16]; //string used to convert score to string
+    char readScore1[16];
+    int stringCon1;
+    int writeScore;
+    int readScore;
+    int score1;
 };
 
 #endif
\ No newline at end of file