![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Diff: Data.cpp
- Revision:
- 57:f94834892570
- Parent:
- 55:58e9836f5ad1
- Child:
- 61:e7f2a0e38360
--- a/Data.cpp Tue Jul 28 14:40:26 2015 +0000 +++ b/Data.cpp Tue Jul 28 15:12:02 2015 +0000 @@ -10,11 +10,11 @@ fclose(fp1); } -void data(int sensor_number, int time, double speed) +void data(int sensor_number, double time, double speed) { printf("it be printing"); //testing FILE *fp = fopen("/local/Datalog.xls", "a"); // Open "Datalog - fprintf(fp, " %d \t %d \t %f \n",sensor_number, time, speed); //fills the tables with the results + fprintf(fp, " %d \t %lf \t %lf \n",sensor_number, time, speed); //fills the tables with the results fclose(fp); }