02/07/15
Dependencies: mbed
Diff: Data.cpp
- Revision:
- 50:d794595c6868
- Parent:
- 48:e9578f56534a
- Child:
- 51:210353276e06
diff -r 889751dd0395 -r d794595c6868 Data.cpp --- a/Data.cpp Wed Jul 15 13:52:20 2015 +0000 +++ b/Data.cpp Wed Jul 15 15:16:03 2015 +0000 @@ -9,11 +9,11 @@ fclose(fp1); } -void data(int sensor_number, int times) +void data(int sensor_number, int speeds) { printf("it be printing"); //testing FILE *fp = fopen("/local/Datalog.xls", "a"); // Open "Datalog - fprintf(fp, " %d \t %d \n",sensor_number, times); //fills the tables with the results + fprintf(fp, " %d \t %f \n",sensor_number, speeds); //fills the tables with the results fclose(fp); }