| 数据搜索系统,热门电子元器件搜索 |
|
DFR0498 数据表(PDF) 21 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0498 数据表(HTML) 21 Page - DFROBOT |
|
21 / 24 page ![]() } else if(cardType == CARD_SD){ Serial.println("SDSC"); } else if(cardType == CARD_SDHC){ Serial.println("SDHC"); } else { Serial.println("UNKNOWN"); } uint64_t cardSize = SD_MMC.cardSize() / (1024 * 1024); Serial.printf("SD_MMC Card Size: %lluMB\n", cardSize); //Print filelist listDir(SD_MMC, "/", 0); //Create a folder named mydir in the root createDir(SD_MMC, "/mydir"); //Print file list and the folder mydir is available listDir(SD_MMC, "/", 0); //Delete the folder mydir removeDir(SD_MMC, "/mydir"); //Print file list and the folder mydir be cleared away listDir(SD_MMC, "/", 2); //Create a file hello.txt and white Hello into the file writeFile(SD_MMC, "/hello.txt", "Hello "); //Append World!\r to the end of Hello in the hello.txt appendFile(SD_MMC, "/hello.txt", "World!\n"); //Read hello.txt and its content "Hello World!" will be printed to the Se rial Port readFile(SD_MMC, "/hello.txt"); //Delete foo.txt in the SD card deleteFile(SD_MMC, "/foo.txt"); //Rename hello.txt as foo.txt renameFile(SD_MMC, "/hello.txt", "/foo.txt"); //Read foo.txtand its contentHello World! will be printed to the Serial P ort readFile(SD_MMC, "/foo.txt"); //Test Read&White speed in SD card |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |