![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
e-paper whereabouts board program
Dependencies: SDFileSystem mbed
eink.h
- Committer:
- kohacraft
- Date:
- 2017-05-23
- Revision:
- 1:cb28911c7ba5
- Parent:
- 0:e4c67c26ba3f
File content as of revision 1:cb28911c7ba5:
/* EDP control program */ #define EDP_WIDTH 800 //EDP width #define EDP_HEIGHT 600 //EDP height #define EDP_BLACK 0 //for black drawing #define EDP_WHITE 1 //for white drawing #define EDP_BLACK_WHITE 2 //for black and white drawing void initPort(); //Initialize port void clrDisp( char color ); //fill the EDP void powerOff(); //turn off EDP void powerOn(); //turn on EDP void dispBmp( FILE *fp , char drawMode );//dwaw bmp image (bmp is 800x600 and monochrome color only)