e-paper whereabouts board program

Dependencies:   SDFileSystem mbed

Committer:
kohacraft
Date:
Tue May 23 22:40:04 2017 +0000
Revision:
2:9150515ecd68
Parent:
1:cb28911c7ba5
bug fix

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kohacraft 1:cb28911c7ba5 1 /* EDP control program */
kohacraft 0:e4c67c26ba3f 2
kohacraft 1:cb28911c7ba5 3 #define EDP_WIDTH 800 //EDP width
kohacraft 1:cb28911c7ba5 4 #define EDP_HEIGHT 600 //EDP height
kohacraft 1:cb28911c7ba5 5 #define EDP_BLACK 0 //for black drawing
kohacraft 1:cb28911c7ba5 6 #define EDP_WHITE 1 //for white drawing
kohacraft 1:cb28911c7ba5 7 #define EDP_BLACK_WHITE 2 //for black and white drawing
kohacraft 1:cb28911c7ba5 8
kohacraft 1:cb28911c7ba5 9 void initPort(); //Initialize port
kohacraft 1:cb28911c7ba5 10 void clrDisp( char color ); //fill the EDP
kohacraft 1:cb28911c7ba5 11 void powerOff(); //turn off EDP
kohacraft 1:cb28911c7ba5 12 void powerOn(); //turn on EDP
kohacraft 1:cb28911c7ba5 13 void dispBmp( FILE *fp , char drawMode );//dwaw bmp image (bmp is 800x600 and monochrome color only)