//return sdfs.begin(SdioConfig(DMA_SDIO)); | //return sdfs.begin(SdioConfig(DMA_SDIO)); | ||||
} | } | ||||
#endif | #endif | ||||
return sdfs.begin(SdSpiConfig(csPin, SHARED_SPI, SD_SCK_MHZ(24))); | |||||
return sdfs.begin(SdSpiConfig(csPin, SHARED_SPI, SD_SCK_MHZ(16))); | |||||
//return sdfs.begin(csPin, SD_SCK_MHZ(24)); | //return sdfs.begin(csPin, SD_SCK_MHZ(24)); | ||||
} | } | ||||
File open(const char *filepath, uint8_t mode = FILE_READ) { | File open(const char *filepath, uint8_t mode = FILE_READ) { |