Hi, ive got an esp32 c3 supermini and an 2.9inch eink display, its an generic ZJYE290S08W0G01 and i am using this code
#include <SPI.h>
#include <GxEPD2_BW.h>
// Pin Definitions
#define EPD_CS 10
#define EPD_DC 7
#define EPD_RST 1
#define EPD_BUSY 21
// Create a custom SPI object (HSPI is used on ESP32-C3)
SPIClass mySPI(HSPI);
GxEPD2_BW<GxEPD2_290_BS, GxEPD2_290_BS::HEIGHT> display(GxEPD2_290_BS(EPD_CS, EPD_DC, EPD_RST, EPD_BUSY));
void setup() {
// Initialize the custom SPI bus with your pins
mySPI.begin(20, -1, 5, EPD_CS); // SCK=20, MISO=-1 (unused), MOSI=5, SS=10
// Initialize the display with the custom SPI bus
display.init(115200, true, 2, false, mySPI, SPISettings(4000000, MSBFIRST, SPI_MODE0));
Serial.begin(115200);
Serial.println("Display Initialized");
// Test
display.setFullWindow();
display.setRotation(4);
display.firstPage();
do {
display.fillScreen(GxEPD_WHITE);
display.setCursor(20, 50);
display.print("Hello World");
} while (display.nextPage());
}
void loop() {}
with this wiring-
1 BUSY violet 21
2 RES orange 1
3 D/C white 7
4 CS blue 10
5 SCL green 20
6 SDA yellow 5
7 GND black GND
8 VCC red 3v3/vcc```
i am getting just this output:
```_Update_Full : 2
Display Initialized
_Update_Full : 3
_Update_Full : 1
Display Initialized
_Update_Full : 3
_Update_Full : 1
Display Initialized
_Update_Full : 3
_Update_Full : 2 (output combined from trying every single rotation cuz ai said so.)```