![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Data.cpp
- Committer:
- aidanPJG
- Date:
- 2015-07-08
- Revision:
- 42:b9055f46cfed
- Parent:
- 40:23008d8111d5
- Child:
- 43:8e154016dd89
File content as of revision 42:b9055f46cfed:
#include "mbed.h" LocalFileSystem local("local"); void data(int sensor_number, int speed){ printf("Data program started"); //testing FILE *fp = fopen("/local/Data.xls", "a"); // Open "Data.txt" on the local file system for writing fprintf(fp, " Sensor Name \t Time \n"); fprintf(fp, " %d \t %d \f",sensor_number, speed); fclose(fp); }