Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: Data.cpp
- 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);