Lab 3 Mark Roche
main.cpp
- Committer:
- liamc
- Date:
- 2022-04-21
- Revision:
- 2:0f36a8081ee1
- Child:
- 3:41c5f0a3b25d
File content as of revision 2:0f36a8081ee1:
#include "mbed.h" LocalFileSystem local("local"); // Create the local filesystem under the name "local" int main() { FILE *fp = fopen("/local/out.txt", "w"); // Open "out.txt" on the local file system for writing fprintf(fp, "Hello World!"); fclose(fp); }