![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Diff: Data.cpp
- Revision:
- 40:23008d8111d5
- Parent:
- 36:a2d20d5e5e19
- Child:
- 42:b9055f46cfed
--- a/Data.cpp Wed Jul 08 08:42:29 2015 +0000 +++ b/Data.cpp Wed Jul 08 10:48:12 2015 +0000 @@ -5,6 +5,6 @@ void data(int sensor_number, int speed){ FILE *fp = fopen("/local/Data.xls", "w"); // Open "Data.txt" on the local file system for writing fprintf(fp, "Sensor Name\tTime\n"); - fprintf(fp, "Sensor %d\t%d",sensor_number, speed); + fprintf(fp, "Sensor %d\t%d\f",sensor_number, speed); fclose(fp); } \ No newline at end of file