- Info
- Author
Thi Minh Nhựt <thiminhnhut@gmail.com>
- Date
$Date: 26/10/2018 $ - Revision
$Revision: 1.0.0 $ - Description
Thư viện lưu trữ dữ liệu trên SD Card với Arduino
Nội dung
Thư mục source: src.
- File SDCardInfo.h:
SDCardInfo(uint8_t pinCS); bool checkInfoCard(); // Start Card Info bool isInitCard(); String getType(); bool isInitVolume(); uint32_t getClusterCount(); uint32_t getBlocksPerCluster(); uint32_t getTotalBlocks(); unsigned char getFatType(); uint32_t getVolumesizeKB(); uint32_t getVolumesizeMB(); float getVolumesizeGB(); // !End Card Info void printList();
- File SDCardInfo.cpp.
- File SDStorage.h:
SDStorage(uint8_t mode); bool checkStatusInitCard(uint8_t pinCS); bool getStatusInitCard(); bool writeData(const String &filename, String data); bool readData(const String &filename); String getData(); void removeFile(const String &filename);
- Ví dụ: demo.ino
- Xem thông tin của SD Card.
- Lưu trữ thông tin vào SD Card.