exists()
描述
检查指定的档案或是资料夹是否存在 MicroSD 卡。
语法
SD.exists(filename)
参数
filename
:要测试是否存在的档案或资料夹路径,路径应该要以 / 分隔资料夹名称
回传
bool
:如果指定的档案或是资料夹存在则回传 true
,反之回传 false
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.