![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Data.cpp
- Committer:
- ADAMSTRUTT
- Date:
- 2015-07-08
- Revision:
- 35:085a674c9fdf
- Child:
- 36:a2d20d5e5e19
File content as of revision 35:085a674c9fdf:
#include "mbed.h" LocalFileSystem local("local"); int data(){ FILE *fp = fopen("/local/Data.txt", "w"); // Open "out.txt" on the local file system for writing fprintf(fp, "Hello World!"); fclose(fp); }