position()
描述
取得檔案現在的位置,該位置標記下一次讀取或寫入的位置。
語法
file.position()
參數
file
:被 SD.open()
回傳的 File
物件
回傳
unsigned long
:目前檔案的位置
See Also
- seek()
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.