James Heavey
/
EL17JH
FINAL VERSION
Diff: main.cpp
- Revision:
- 113:d180342ac017
- Parent:
- 112:26961473eae8
- Child:
- 116:2793d31ca691
--- a/main.cpp Wed May 08 03:26:42 2019 +0000 +++ b/main.cpp Wed May 08 04:00:00 2019 +0000 @@ -573,7 +573,7 @@ { serial.baud(115200); // max speed FILE *fp; // file pointer - fp = fopen("/sd/highscore.txt", "w"); + fp = fopen("/sd/hi_score.txt", "w"); if (fp == NULL) { // if it can't open the file then print error message serial.printf("Error! Unable to open file!\n"); } else { // opened file so can write @@ -588,7 +588,7 @@ { serial.baud(115200); // max speed FILE *fp; - fp = fopen("/sd/highscore.txt", "r"); + fp = fopen("/sd/hi_score.txt", "r"); int stored_hi_score = NULL; if (fp == NULL) { // if it can't open the file then print error message serial.printf("Error! Unable to open file!\n");