Issue with waveshare-7.5inch-ePaper-display and ePaper_ESP32_Driver_Board

Hello. Looking forward to your help, Similar question to this post:issue-with-waveshare-7-5inch-e-ink-display,I purchased Waveshare 7.5 inch ePaper display and ePaper_ESP32_Driver_Board, the official DEMO successfully drove the screen, now I'm trying to drive it using GxEPD2_BW, but I've tried many times without success.

Links to products:

My code:

#include <GxEPD2_BW.h>   
#define CS 15
#define DC 27
#define RST 26
#define BUSY 25

GxEPD2_BW<GxEPD2_750, GxEPD2_750::HEIGHT> display(GxEPD2_750(CS, DC, RST, BUSY));

void setup() {
  Serial.begin(115200);
  Serial.println("Initializing...");
  display.init(115200);   
  display.fillScreen(GxEPD_WHITE);   
  display.display();  
  display.setRotation(1);  
  display.setTextColor(GxEPD_BLACK);  
  display.setTextSize(2);   
  display.setCursor(20, 20);   
  display.print("Hello, e-Paper!");
  display.display();  // 刷新屏幕
}

void loop() {
  // loop
}

I have not worked with hardware prior to this, my routine is open site programming and I would appreciate any help.

You should post such questions in the Displays section, else I usually don't notice the post.

See example GxEPD2_WS_ESP32_Driver.ino
The code for the ESP32 Driver board is also in the example GxEPD2_Example.ino
-jz-

Sorry for mis-categorising the question, thank you very much for your answer, I'll go and study the example you provided, the reply was quick and appreciated!!!

Thank you again, the screen drove successfully after I uncommented #define GxEPD2_DRIVER_CLASS GxEPD2_750_T7 in the link file you provided, as a newcomer to hardware development, very much admire your open source code and efficient responses to questions, you guys are so great.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.