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
}