HelTecAutomation / Heltec-E-Ink

Arduino library for E-Ink display(1.54, 2.13, 2.9) made by HelTec Automation(TM)
53 stars 20 forks source link

E-ink 1.54 and HSPI on esp32 #22

Open aelmaker opened 2 years ago

aelmaker commented 2 years ago

Hi all! We chose a good screen that we needed for a long time and settled on E-ink 1.54 https://heltec.org/project/154-e-ink/

The board was created (main controller ESP32-wroom) and we started the code. We figured out the library, but do not fully understand how it can work. We’re having a problem connecting to the SPI. The fact is that we have the following connection for our esp32 board (it has 2 SPI - VSPI and HSPI): The screen is connected to the pins: e-ink HSPI cs-15 mosi-13 dc-12 clk-14 bysy - 27

another sensor module VSPI ss - 5 sck - 18 mosi - 23 miso - 19 busy - 17 When I use the eink library I get problems because the library uses the call to SPI.** which by default uses pins VSPI.

But my physical connection is different. Please tell me how can I be? I have no options to change the connection. I ask for your help in setting up the library to use the screen connected to the HSPI pins