We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
This is my setup:
#define SDCARD_MISO (2) #define SDCARD_CS (13) #define SDCARD_SCLK (14) #define SDCARD_MOSI (15) #define _HAS_SDCARD_
Tried it with and without: SPIClass SDSPI(HSPI);
SPIClass SDSPI(HSPI);
Added this line of code:
Serial.printf("SD: %dG\r\n", SD.cardSize());
If I insert a 2GB microSD card setupSDCard() returns false and SD.cardSize() returns zero.
setupSDCard()
false
SD.cardSize()
I checked the defines with the silkscreen on my board and that all looks good/normal. The SD card works OK on other devices.
Do I have a faulty board?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
This is my setup:
Tried it with and without:
SPIClass SDSPI(HSPI);
Added this line of code:
If I insert a 2GB microSD card
setupSDCard()
returnsfalse
andSD.cardSize()
returns zero.I checked the defines with the silkscreen on my board and that all looks good/normal.
The SD card works OK on other devices.
Do I have a faulty board?
The text was updated successfully, but these errors were encountered: