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@1:021abaf618c9, 2010-03-03 (annotated)
- Committer:
- chris
- Date:
- Wed Mar 03 22:10:00 2010 +0000
- Revision:
- 1:021abaf618c9
- Parent:
- 0:53141d94b116
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| chris | 0:53141d94b116 | 1 | #include "mbed.h" |
| chris | 0:53141d94b116 | 2 | |
| chris | 0:53141d94b116 | 3 | LocalFileSystem local("local"); |
| chris | 0:53141d94b116 | 4 | |
| chris | 0:53141d94b116 | 5 | int main() { |
| chris | 0:53141d94b116 | 6 | |
| chris | 1:021abaf618c9 | 7 | FILE *fp = fopen("/local/test.txt", "w"); |
| chris | 1:021abaf618c9 | 8 | fprintf(fp, "Hello file system!\n"); |
| chris | 0:53141d94b116 | 9 | fclose(fp); |
| chris | 0:53141d94b116 | 10 | } |