seek()
描述
移动读取及写入资料到档案的位置。
语法
file.seek(pos)
参数
file:被 SD.open() 回传的 File 物件
pos:要移动到的目标位置,型态为 unsigned long
回传
bool:执行成功则回传 true,反之回传 false
See Also
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.
