Open juanpabloaj opened 5 years ago
Hi @juanpabloaj! Sorry I missed this when you posted it.
I think the issue is here:
GxIO_Class io(SPI, 15, 33, 27);
GxEPD_Class display(io, 27, 32);
The ESP32 has 4 SPI controllers, with two exposed to the Arduino library (HSPI and VSPI). If I remember correctly, SPI
here is an alias for VSPI
in the ESP32 Arduino library, however the Adafruit HUZZAH32 exposes HSPI
on the board.
Try changing these lines to:
SPIClass s(VSPI); // VSPI or HSPI
GxIO_Class io(s, /*CS=*/ 15, /*DC=*/ 33, /*RST=*/ 27);
GxEPD_Class display(io, /*RST=*/ 27, /*BUSY=*/ 32);
Hi Dylan, thanks for your example, is very interesting.
I'm trying to understand how I could use WaveShare EPaper Display with Adafruit HUZZAH32 ESP32 Feather Board.
I tried to make a simplification of your code with these connections
and with this code
but I don't get any reaction from the display, do you see something wrong in the code or the connections?
thanks a lot for your help :)