Hi @ZinggJM, I have good news. I got the display with the Waveshare HAT to work. Also by using the 3.3V Pins of the Lolin S3 Pro.
So far just got the colors with the function draw7colors() to work, which uses display.fillRect(0, 0, display.width(), h, GxEPD_BLACK);
Since I do not get any of the bitmap arrays (C arrays in header files) completly colorfull I was wondering how I can do that since I already prepared on my server a script creating pictures with the limited 7 colors. Now I need to translate this in an array to submit over WIFI. Then I can save processing of bitmaps. Or you say it is worth to save as bitmap and then using showBitmapFrom_HTTP. But how can I know the color values to use in the bitmap.
In general I was thinking I can use this binary values for each pixel:
// color definitions for GxEPD, GxEPD2 and GxEPD_HD, values correspond to RGB565 values for TFTs
#define GxEPD_BLACK 0x0000
#define GxEPD_WHITE 0xFFFF
// values for 3-color or 7-color EPDs
#define GxEPD_RED 0xF800 // 255, 0, 0
#define GxEPD_YELLOW 0xFFE0 // 255, 255, 0 !!no longer same as GxEPD_RED!!
#define GxEPD_COLORED GxEPD_RED
// values for 7-color EPDs only
#define GxEPD_BLUE 0x001F // 0, 0, 255
#define GxEPD_GREEN 0x07E0 // 0, 255, 0
#define GxEPD_ORANGE 0xFC00 // 255, 128, 0
and then create an array I can get from my server as follows and draw it using display.epd2.drawDemoBitmap(my_picture_array, 0, 0, 0, 800, 480, 0, false, true); or display.drawNative(my_picture_array, 0, 0, 0, 800, 480, false, false, true); even when I do not get yet the difference between drawDemoBitmap and drawNative. Here the example array of my thoughts for the first 7 pixel in the display in this order red, green, orange, blue, white, black, yellow:
unsigned int my_picture_array[384000] = {
0XF800,0X07E0,0XFC00,0X001F,0XFFFF,0X0000,0XFFE0, ... };
Probably I am completly wrong but before I try forever I would like to understand what will be the best way to prepare the array / data to display own images on the 7 color display with this library with data saved in a backend updated over WIFI.
One last thing. If I have have this array/image data and display them. Is the library also offering a posibility to input in this image some costum box and text like the battery lever before drawing. Sorry that it was very long. I hope this will help also other users.