# SD Card example

Here are the [docs for the SDCard pins](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-wrover-kit.html#get-started-esp-wrover-kit-v4-1-microsd-card-slot).

| . | ESP32 Pin     | MicroSD Signal |
|---|---------------|----------------|
| 1 | MTDI / GPIO12 | DATA2          |
| 2 | MTCK / GPIO13 | CD / DATA      |
| 3 | MTDO / GPIO15 | CMD            |
| 4 | MTMS / GPIO14 | CLK            |
| 5 | GPIO2         | DATA0          |
| 6 | GPIO4         | DATA1          |
| 7 | GPIO21        | CD             |
