e-Paper icon indicating copy to clipboard operation
e-Paper copied to clipboard

Displaying Image

Open monurbstnc opened this issue 1 year ago • 1 comments

Hello I want to display an image in my e-paper (Waveshare 2.13 inch) . Arduino examples works fine. But I did not get how to configure for special usage. For example ; I want to display an image and I dont know which function should I call.

In the Example #if 1 //show image for array
Debug("show image for array\r\n"); Paint_SelectImage(BlackImage); Paint_Clear(WHITE); Paint_DrawBitMap(gImage_2in13);

EPD_2in13_V3_Display(BlackImage);
DEV_Delay_ms(2000);

#endif

We have this codes . Why we use below functions Paint_SelectImage(BlackImage); Paint_Clear(WHITE); EPD_2in13_V3_Display(BlackImage);

Thaks for your helps

monurbstnc avatar Sep 27 '23 07:09 monurbstnc

Paint_DrawBitMap(gImage_2in13);

Is to write the data of gImage_2in13 to BlackImage, if you don't want to do extra operations can be simplified as follows

EPD_2in13_V3_Display(gImage_2in13 ); DEV_Delay_ms(2000);

shhds avatar Dec 21 '23 01:12 shhds