![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Diff: Data.cpp
- Revision:
- 35:085a674c9fdf
- Child:
- 36:a2d20d5e5e19
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Data.cpp Wed Jul 08 07:11:31 2015 +0000 @@ -0,0 +1,9 @@ +#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); +} \ No newline at end of file