add 4.01f demo
This commit is contained in:
parent
c65eec8e5e
commit
7b958776c8
52 changed files with 11250 additions and 1902 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* DEV_Delay_ms(2000);//important, at least 2s/*****************************************************************************
|
||||
/*****************************************************************************
|
||||
* | File : EPD_5in65f_test.c
|
||||
* | Author : Waveshare team
|
||||
* | Function : 5.65inch F e-paper test demo
|
||||
|
|
@ -47,9 +47,6 @@ int EPD_5in65f_test(void)
|
|||
printf("%ld S\r\n",finish.tv_sec-start.tv_sec);
|
||||
DEV_Delay_ms(100);
|
||||
|
||||
// EPD_5IN65F_Show7Block();
|
||||
// DEV_Delay_ms(10000);
|
||||
|
||||
UBYTE *BlackImage;
|
||||
/* you have to edit the startup_stm32fxxx.s file and set a big enough heap size */
|
||||
UDOUBLE Imagesize = ((EPD_5IN65F_WIDTH % 2 == 0)? (EPD_5IN65F_WIDTH / 2 ): (EPD_5IN65F_WIDTH / 2 + 1)) * EPD_5IN65F_HEIGHT;
|
||||
|
|
@ -69,6 +66,14 @@ int EPD_5in65f_test(void)
|
|||
DEV_Delay_ms(4000);
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
printf("show image for array\r\n");
|
||||
Paint_Clear(EPD_5IN65F_WHITE);
|
||||
GUI_ReadBmp_RGB_7Color("./pic/5in65f.bmp", 0, 0);
|
||||
EPD_5IN65F_Display(BlackImage);
|
||||
DEV_Delay_ms(4000);
|
||||
#endif
|
||||
|
||||
#if 1
|
||||
Paint_Clear(EPD_5IN65F_WHITE);
|
||||
printf("Drawing:BlackImage\r\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue