In our previous blog we have seen how to setup arduino for ESP 32 and ran GetChipID example, in this blog we will see how to run the SD_Test example.
Connecting ESP DevKit to SD Card Breakout board
if you have a SD card breakout board you can directly connect it respective connections on ESP32 dev board like MISO to MISO,SCK to SCK etc.. (The Breakout board might have a VCC pin, Connect 3v3 to that pin)
You can find the program in Examples -> SD(esp32) -> SD_Test
open the serial console after loading the code, the program will print basic information about the SD card and it will write and read a file as well
Followings are results when executed the testFileIO function with different buffer sizes