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.
Dependencies: SDFileSystem mbed
Revision 2:9150515ecd68, committed 2017-05-23
- Comitter:
- kohacraft
- Date:
- Tue May 23 22:40:04 2017 +0000
- Parent:
- 1:cb28911c7ba5
- Commit message:
- bug fix
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue May 23 05:06:14 2017 +0000 +++ b/main.cpp Tue May 23 22:40:04 2017 +0000 @@ -21,6 +21,9 @@ initPort(); //Initialize Port + //turn on EDP + powerOn(); + FILE *fp; char filePath[32] = ""; int fileNum = 0; @@ -39,9 +42,6 @@ fileNum = 4; } - //turn on EDP - powerOn(); - //open file sprintf( filePath , "/sd/%d.bmp" , fileNum); fp = fopen(filePath, "r"); @@ -49,7 +49,7 @@ /* -------------------------------------- */ /* Please select display mode */ /* from mode1 to mode3 for your EDP. */ - /* Please comment out any not need mode */ + /* Please comment out any not need modes */ /* -------------------------------------- */ //DisplayMode1 fill Black and draw white