The most basic thing we need to do first before anything else is get the code ready for initializing the display. The code to the right comes directly from the manufacturer and is the minimum needed to get the display ready to start working.
If all you do is get the board started and nothing else, the logo stays up forever. Start by just getting this code typed up We will add to it later to get it to display what is called bitmap images. Upload it to board and make sure it works. It looks similar to this picture, but your colors may be different based on the screen colors. |
Go ahead and practice converting images to bitmap codes using the website. Start by generating a bitmap using the picture here of the Arduino logo. I put a file download here. Test it out. Here is what it looked like when I did it. There is one pixel code per pixel.
https://javl.github.io/image2cpp/ Image File Download![]()
Once you get the bitmap code, I'd recommend saving it in a google doc or something so you have paste it into Arduino IDE later.
It is useful to rename the bitmap from the default "epd_bitmap_bitmap". I deleted that part and renamed mine "logo". You can name it whatever you want to. |