Articles Posted by the Author:


  • ServoOffset 建构子

    ServoOffset 建构子

    描述 初始化 ServoOffset 类别。 语法 ServoOffset myoffset ServoOffset myoffset(filename) 参数 filename:伺服机偏移量微调值档案名称。 如果有输入以上参数,则 ServoOffset 在初始化类别时,会自动载入该档案内容做为初始的偏移量微调值。请注意,您必须将档案放在 SD 卡根目录下;假如您的 86Duino 没有置入 SD 卡,或者 SD 卡内不包含动作档案,则档案载入会失败。 范例 See also - offsets[] - setOffsets() 函式库参考主页面 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 […]


  • ServoFrame 建构子

    ServoFrame 建构子

    描述 初始化 ServoFrame 类别。 语法 ServoFrame myframe ServoFrame myframe(filename) 参数 filename:动作帧档案名称。如果有输入档案名称,则 ServoFrame 在初始化类别时,会自动载入该档案内容做为初始动作帧。请注意,您必须将动作帧档案放在 SD 卡根目录下;假如您的 86Duino 没有置入 SD 卡,或者 SD 卡内不包含动作帧档案,则档案载入会失败。 范例 See also - positions[] - setPositions() 函式库参考主页面 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.


  • Servo 建构子

    Servo 建构子

    描述 初始化 Servo 类别。 语法 Servo myservo 参数 范例 See also - attach() - attached() - write() 函式库参考主页面 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.





  • load()

    load()

    描述 载入由 save() 函式储存的伺服机偏移量微调值档案。(载入完成后,使用者可在 offsets[] 阵列中取得各个伺服机的偏移量微调值。) 语法 myoffset.load(filename) 参数 myoffset:ServoOffset 型别的物件。 filename:偏移量微调值(offset)档案的名称。注意:此函式只会到 SD 卡的根目录下寻找偏移量微调值档案,假如您的 86Duino 没有插入 SD 卡,或者 SD 卡中没有指定档案,则载入会失败。 回传 true:档案载入成功。 false:档案载入失败。 范例 See also - offsets[] - save() 函式库参考主页面 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 […]


  • save()

    save()

    描述 将 offsets[] 阵列的内容储存至指定的档案。 语法 myoffset.save(filename) 参数 myoffset:ServoOffset 型别的物件。 filename:指定的档案名称。注意:档案会储存至 SD 卡的根目录下,假如您的 86Duino 没有插入 SD 卡,则储存会失败。 回传 true:档案储存成功。 false:档案储存失败。 范例 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.