Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying Image #305

Open
monurbstnc opened this issue Sep 27, 2023 · 1 comment
Open

Displaying Image #305

monurbstnc opened this issue Sep 27, 2023 · 1 comment

Comments

@monurbstnc
Copy link

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

@shhds
Copy link
Contributor

shhds commented Dec 21, 2023

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants