“SD.exists()”的版本间的差异

来自YFRobotwiki
跳转至: 导航搜索
(以“:SD {| border="0" cellpadding="20" width="100%" |- |width="100%" valign="top" align="left"| <font color="olivedrab" size="+3">'''exists()'''</font> <fon...”为内容创建页面)
(没有差异)

2015年7月23日 (四) 23:16的版本

SD

exists()


描述

Tests whether a file or directory exists on the SD card.


语法

SD.exists(filename)


参数

filename: the name of the file to test for existence, which can include directories (delimited by forward-slashes, /)


返回值

true if the file or directory exists, false if not


返回SD库

返回Arduino库菜单

返回首页

更多建议和问题欢迎反馈至 YFRobot论坛