Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always do SPI remapping #101

Open
blind-oracle opened this issue May 10, 2024 · 1 comment
Open

Always do SPI remapping #101

blind-oracle opened this issue May 10, 2024 · 1 comment

Comments

@blind-oracle
Copy link

blind-oracle commented May 10, 2024

First, thanks for the awesome project!

I had a small problem when configuring the firmware - when the board is set to the recommended Despi C02 then the SPI bus is not remapped to the pins that are specified in the config.cpp. When using different ESP32 boards (I've used ESP32-S3) it causes frustration since you can't get the display working.

I'd recommend to just move this block out of #ifdef so that it executes for all board types (shouldn't hurt I guess)

  SPI.end();
  SPI.begin(PIN_EPD_SCK,
            PIN_EPD_MISO,
            PIN_EPD_MOSI,
            PIN_EPD_CS);
@lmarzen
Copy link
Owner

lmarzen commented May 13, 2024

`Thanks for troubleshooting this and presenting a solution. I am in the middle of moving, but I will apply this fix in the coming weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants