Creating Bitmap for GxEPD2 and Waveshare 7 color E ink Display

Hello, I am pretty new to Arduino and recently got the 5.56" 7 color e ink display from waveshare

I was able to get the example code running for GxEPD2, but now I am lost on how to create a 7 color bit map to load custom images onto the display.

I have found programs such as Image2LCD, but they are unable to make an output with 7 colors.

I have the images in the appropriate resolution and colorway already. I am considering writing a python script to loop through the image and generate the hex codes. However I was wondering if there were tools out there to do this, because I can not find them

The function takes

@wardrobe_son, Hi, welcome to the forum!

I still have no experience with creating bitmaps for e-paper displays, nor for TFT displays.

But Waveshare has good documentation and useful informations for their products.

Start with the product page: 5.65inch-e-paper-module-f.htm.

Scroll down to the link for the wiki page: https://www.waveshare.com/wiki/5.65inch_e-Paper_Module_(F).

Select the Resources tab and click Make BMP file for e-Paper.

This Instroduction also deals with creation of 7-color bitmaps. I hope it works.

Jean-Marc

I was not able to get that to work. Though I need to play with it a little bit more. Luckily after some more searching I found a github repo that should do what I want.

His code is for the code that comes from waveshare, but I will likely try to get it working with gxEPD2 as your text commands seem better. Thanks for a very useful package!

I will share the repo here in case anyone else has a similar question.

Thanks!