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: demo.cpp
- Revision:
- 21:ea68a8a3cea4
- Parent:
- 20:88e137b9ea46
- Child:
- 22:cea582ea74c1
--- a/demo.cpp Mon Sep 26 10:51:02 2016 +0000 +++ b/demo.cpp Mon Sep 26 13:41:22 2016 +0000 @@ -19,6 +19,9 @@ if (file_Mount()) puts("\r FAT16 Mount: OK"); else puts("\r FAT16 Mount: FAIL"); + char buf[3]; + sprintf(buf, "\n\r FAT16 Error = %i", file_Error()); + puts(buf); } //************************************************************************** @@ -101,6 +104,7 @@ else puts("\n\r Write Word : FAIL"); if (media_Flush()) puts("\n\r Flush : OK"); else puts("\n\r Flush : FAIL"); + wait_ms(LONG_WAIT); } //************************************************************************** @@ -368,6 +372,7 @@ wait_ms(LONG_WAIT); pc.printf("\nCurrent orientation xMax = %i, yMax = %i\n\r", Xmax, Ymax); cls(); + wait_ms(LONG_WAIT); } //************************************************************************** @@ -708,6 +713,7 @@ puts("\nFG Color = CREAM"); wait_ms(LONG_WAIT); textFgColor(Green); // set Color back + wait_ms(LONG_WAIT); } \ No newline at end of file