for textbook v4.4

Dependencies:   mbed HEPTA_CDH

Files at this revision

API Documentation at this revision

Comitter:
Yanagihara
Date:
Tue Nov 17 03:38:18 2020 +0000
Parent:
26:f15b873a018c
Commit message:
"puts" to "pc.puts"

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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");