Hi Folks,
I'm trying to control the 6-inch Waveshare (1448*1072) e-paper by using a ESP32-S2-DevKitM-1 connected to the IT8951 driver, all managed through the Arduino interface and the GxEPD2 library.
To do this, I tried to load the code provided in GxEPD2_Example.
The main problem I suspect is the cause of the malfunction is the wiring:
I tried to follow the instructions in the GxEPD2_display_selection.h file, to be precise :
#if defined(ESP32)
// grey levels parallel IF e-papers on Waveshare e-Paper IT8951 Driver HAT
// HRDY -> 4, RST -> 16, CS -> SS(5), SCK -> SCK(18), MOSI -> MOSI(23), MISO -> MISO(19), GND -> GND, 5V -> 5V
The first problem appears: pin 23 does not exist on my controller. The second is that I'm not sure that the variables indicated in the following line of code (which I've uncommented in my .h file) are correct:
GxEPD2_BW < GxEPD2_it60_1448x1072, GxEPD2_it60_1448x1072::HEIGHT / 4 > display(GxEPD2_it60_1448x1072(/*CS=5*/ SS, /*DC=*/ 17, /*RST=*/ 16, /*BUSY=*/ 4));
Indeed, why link "DC" to pin 17 and "BUSY" to pin 4 (which is supposed to be linked to HRDY)?
I would like to point out that the code compiles correctly but the screen doesn't display anything.
Please tell me if I need to be more specific in describing my problem, thank you in advance for any help.
Link of the display : display
Link of the ESP32 controller : controller