save()
描述
将 offsets[] 阵列的内容储存为可被 ServoFrame 载入的伺服机偏移量微调值档案。
语法
myoffset.save(filename)
参数
myoffset
:ServoOffsetVstone
型别的物件。
filename
:指定的档案名称。注意:档案会储存至 SD 卡的根目录下,假如您的 86Duino 没有插入 SD 卡,则储存会失败。
回传
true:档案储存成功。
false:档案储存失败。
范例
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
See also
- offsets[]
- load()
函式库参考主页面
The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.