- Wed Apr 05, 2023 10:25 am
#240128
Hi
I have the weather board with an esp32 processor. All works OK except the SD slot. I can get the SD slot to initialise using the SD.h library but it will not read or write to the card. For example compiling the 'SD card read/write' example it initialises OK but the opening of the file (the card is blank and re-formatted) gets the "error opening test.txt" text. I've tried reformatting, resetting the board etc. but no luck. I've tried 32GB cards and 2GB cards with the same result. I've read elsewhere that the speed of the SPI connection could be the issue.
Bipman
I have the weather board with an esp32 processor. All works OK except the SD slot. I can get the SD slot to initialise using the SD.h library but it will not read or write to the card. For example compiling the 'SD card read/write' example it initialises OK but the opening of the file (the card is blank and re-formatted) gets the "error opening test.txt" text. I've tried reformatting, resetting the board etc. but no luck. I've tried 32GB cards and 2GB cards with the same result. I've read elsewhere that the speed of the SPI connection could be the issue.
Bipman