SD SDK

From ElectroDragon
Revision as of 03:47, 22 April 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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!