-
Notifications
You must be signed in to change notification settings - Fork 164
Add patch for software SPI support #125
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
base: master
Are you sure you want to change the base?
Conversation
#define USE_SPI_LIB //moved line 56 defined when SOFTWARE_SPI not defined
lin20: #define USE_SPI_LIB //moved line 25
line 357, remove card.setSpiClock(clock) in function SDClass::begin(uint32_t clock, uint8_t csPin) when SOFTWARE_SPI is defined
Memory usage change @ b84ead4
Click for full report table
Click for full report CSV
|
It answers this issues #22 |
The functionality is already present but it is broken. |
I encountered the same issue today, and I confirm this fix works.
|
Sd2Card.h line 38: #define USE_SPI_LIB moved to line 56
Sd2Card.cpp line 20: #define USE_SPI_LIB moved to line 25
SD.cpp line 357 in function SDClass::begin(uint32_t clock, uint8_t csPin), remove card.setSpiClock(clock) when SOFTWARE_SPI is defined
Description of the changes here
https://www.aranacorp.com/fr/utilisation-du-module-sd-du-shield-tft-avec-arduino-mega/