创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


arduino:libraries:fileseek

SD:File class

seek()

在文件中对一个位置进行索引,该位置必须在0到文件的大小之间。

语法

file.seek(pos)

参数

file :File类的object(由SD.open()返回)
pos:要索引的位置(unsigned long)

返回

成功返回true,失败返回false(boolean)

返回主菜单

本页面的其他翻译:
arduino/libraries/fileseek.txt · 最后更改: 2016/12/25 22:15 (外部编辑)