![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
e-paper whereabouts board program
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 |
diff -r cb28911c7ba5 -r 9150515ecd68 main.cpp --- 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