Add 4.37inch e-Paper (G) STM32 program and fix some bugs.
This commit is contained in:
parent
31c2e4176e
commit
77accf11dd
32 changed files with 4453 additions and 1186 deletions
|
|
@ -38,16 +38,16 @@
|
|||
#define EPD_7IN3G_WIDTH 800
|
||||
#define EPD_7IN3G_HEIGHT 480
|
||||
|
||||
//colour
|
||||
#define EPD_7IN3G_BLACK 0x00
|
||||
#define EPD_7IN3G_WHITE 0x55
|
||||
#define EPD_7IN3G_YELLOW 0xAA
|
||||
#define EPD_7IN3G_RED 0xFF
|
||||
// Color
|
||||
#define EPD_7IN3G_BLACK 0x0
|
||||
#define EPD_7IN3G_WHITE 0x1
|
||||
#define EPD_7IN3G_YELLOW 0x2
|
||||
#define EPD_7IN3G_RED 0x3
|
||||
|
||||
void EPD_7IN3G_Init(void);
|
||||
void EPD_7IN3G_Clear(UBYTE color);
|
||||
void EPD_7IN3G_Display(UBYTE *Image);
|
||||
void EPD_7IN3G_Display_part(UBYTE *Image, UWORD xstart, UWORD ystart, UWORD image_width, UWORD image_heigh);
|
||||
void EPD_7IN3G_Display(const UBYTE *Image);
|
||||
void EPD_7IN3G_Display_part(UBYTE *Image, UWORD xstart, UWORD ystart, UWORD image_width, UWORD image_height);
|
||||
void EPD_7IN3G_Sleep(void);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue