SD SDK
SD Card Read
- Wiring
5V - VCC, GND - GND D13 - SD_CLK, D12 - SD_OUT, D11 - SD_IN, D10 - SD_CS
- Arduino library, and upload SD card example sketch.
Demo code
- Available at Arduino library (name:File Logger or SD)page.
For Stm32:
- Supported file system by arduino: FAT32
- Notice set CS pin in sketch first
Arduino Official Library "listfiles"
Initializing SD card...initialization done. SYSTEM~1/
WPSETT~1.DAT 12 INDEXE~1 76
EQWEWQ.TXT 0 done!