#ifndef _SDCARD_H #define _SDCARD_H #include "Arduino.h" #include "FS.h" #include "SD.h" #include "SPI.h" class SDCard { public: SDCard(); void mount(); void umount(); void readFile(const char *path); private: fs::FS &fs = SD; uint8_t cardType; uint64_t cardSize; }; #endif /* _SDCARD_H */