这里会显示出您选择的修订版和当前版本之间的差别。
en:arduino:libraries:sdexists [2016/12/25 22:15] |
en:arduino:libraries:sdexists [2016/12/25 22:15] (当前版本) |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | [[en:arduino:libraries:sd|SD]] | ||
+ | ====== exists() ====== | ||
+ | |||
+ | ===== Description ===== | ||
+ | |||
+ | Tests whether a file or directory exists on the SD card. | ||
+ | ===== Syntax ===== | ||
+ | |||
+ | SD.exists(filename) | ||
+ | ===== Parameters ===== | ||
+ | |||
+ | filename: the name of the file to test for existence, which can include directories (delimited by forward-slashes, /) | ||
+ | ===== Returns ===== | ||
+ | |||
+ | true if the file or directory exists, false if not | ||
+ | |||
+ | Reference Home |