I already asked about this on stackexchange a long time ago with no help, and i still have the same issue now (Waveshare Display on ESP32 has weird graphic glitches - Arduino Stack Exchange)
Please check the question out, i really have no idea how i can solve that issue - the only thing that helped was (with a lot of work) MIRRORING the complete Hex Code, but surely that cant be the solution? What even causes this?
Right now, i convert my images to .xbm using magick, then adding the Arduino syntax. This is my example image: #ifndef _GxBitmapExamples_H_#define _GxBitmapExamples_H_#if defined(ESP8266) - Pastebin.com
This is my sketch:
</> #include <GxEPD.h>
#include <GxGDEW075Z09/GxGDEW075Z09.h> // 7.5" b/w/r
#include GxEPD_BitmapExamples
#include <Fonts/FreeMonoBold9pt7b.h>
#include <Fonts/FreeMonoBold12pt7b.h>
#include <Fonts/FreeMonoBold18pt7b.h>
#include <Fonts/FreeMonoBold24pt7b.h>
#include <GxIO/GxIO_SPI/GxIO_SPI.h>
#include <GxIO/GxIO.h>
GxIO_Class io(SPI, /CS=5/ SS, /DC=/ 17, /RST=/ 16); // arbitrary selection of 17, 16
GxEPD_Class display(io, /RST=/ 16, /BUSY=/ 4); // arbitrary selection of (16), 4
void setup()
{
Serial.begin(115200);
Serial.println();
Serial.println("setup");
display.init(115200); // enable diagnostic output on Serial
Serial.println("setup done");
}
void loop()
{
display.drawBitmap(BitmapExample1, sizeof(BitmapExample1));
//display.drawExamplePicture_3C(BitmapExample1, sizeof(BitmapExample1), GxEPD::bm_partial_update);
//display.drawExamplePicture_3C(BitmapExample1, sizeof(BitmapExample1), GxEPD::bm_partial_update);
//delay(2000);
//display.fillScreen(GxEPD_RED);
//display.update();
//delay(2000);
//display.fillScreen(GxEPD_BLACK);
//display.update();
//delay(2000);
//display.fillRect(0, 0, 32, 32, GxEPD_WHITE);
//display.update();
} </>
Please tell me how i can solve this, i really would hate to be forced to do tons of regex and string formating for each image just for this
