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.
Diff: main.cpp
- Revision:
- 27:210fe762fa94
- Parent:
- 26:f15b873a018c
- Child:
- 28:1a68053af917
diff -r f15b873a018c -r 210fe762fa94 main.cpp
--- a/main.cpp Tue Aug 27 03:56:26 2019 +0000
+++ b/main.cpp Tue Nov 17 03:38:18 2020 +0000
@@ -19,7 +19,7 @@
fp = fopen("/sd/mydir/test.txt","r");
for(int j = 0; j < 10; j++) {
fgets(str,100,fp);
- puts(str);
+ pc.puts(str);
}
fclose(fp);
pc.printf("Goodbye!!\r\n");