Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 #include "mbed.h" 00002 00003 LocalFileSystem local("local"); // Create the local filesystem under the name "local" 00004 00005 int main() { 00006 FILE *fp = fopen("/local/out.txt", "w"); // Open "out.txt" on the local file system for writing 00007 fprintf(fp, "Hello World!"); 00008 fclose(fp); 00009 }
Generated on Tue Jul 12 2022 13:01:13 by
