flush()
描述
把对档案的修改实际写入 MicroSD 卡,这个动作在关闭档案时会自动执行。
read()
是从 Stream
继承而来。
语法
file.flush()
参数
file
:被 SD.open()
回传的 File
物件
回传
无回传值
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.