![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Diff: Data.cpp
- Revision:
- 48:e9578f56534a
- Parent:
- 47:1dc3b5f7bf4a
- Child:
- 50:d794595c6868
--- a/Data.cpp Mon Jul 13 10:34:29 2015 +0000 +++ b/Data.cpp Mon Jul 13 14:44:08 2015 +0000 @@ -9,11 +9,11 @@ fclose(fp1); } -void data(int sensor_number, int speed) +void data(int sensor_number, int times) { printf("it be printing"); //testing FILE *fp = fopen("/local/Datalog.xls", "a"); // Open "Datalog - fprintf(fp, " %d \t %d \n",sensor_number, speed); //fills the tables with the results + fprintf(fp, " %d \t %d \n",sensor_number, times); //fills the tables with the results fclose(fp); }