02/07/15

Dependencies:   mbed

Dependents:   TabbedGUIMbed

Revision:
55:58e9836f5ad1
Parent:
52:d21fc7266b66
Child:
57:f94834892570
diff -r 9322b1b76e13 -r 58e9836f5ad1 Data.cpp
--- a/Data.cpp	Thu Jul 16 14:22:47 2015 +0000
+++ b/Data.cpp	Thu Jul 16 14:42:29 2015 +0000
@@ -2,10 +2,9 @@
 
 LocalFileSystem local("local"); 
 
-void initialise()
+void initialise(int counter )
 { 
     FILE *fp1 = fopen("/local/Datalog.xls", "a");       // opens or creates fill Datalog, and gives the headings
-    int counter=5;
     fprintf(fp1, " Test %d \n", counter);
     fprintf(fp1, " Sensor \t Time \t Speed \n");
     fclose(fp1);