Articles Posted by the Author:

  • getXChange()

    getXChange()

    描述 回覆滑鼠从上一次查询后在 X 轴上移动的距离,回传的值如果是正的,表示往右移动,反之则表示往左移动。 语法 mouse.getXChange() 参数 无参数 回传 int 范例 参见 - mouseDragged() - mousePressed() 函式库参考主页面 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.


  • mouseReleased()

    mouseReleased()

    描述 mouseReleased() 是一个函式,当 USB 的滑鼠按键释放时被呼叫。 语法 void mouseReleased() {   // statements } 范例 参见 - mouseMoved() - mouseDragged() - mousePressed() - getXChange() - getYChange() - getButton() 函式库参考主页面 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 […]


  • mousePressed()

    mousePressed()

    描述 mousePressed() 是一个函式,当 USB 滑鼠按键被按时被呼叫。 语法 void mousePressed() {   // statements } 范例 参见 - mouseMoved() - mouseDragged() - mouseReleased() - getXChange() - getYChange() - getButton() 函式库参考主页面 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 […]


  • mouseDragged()

    mouseDragged()

    描述 mouseDragged() 是一个函数,当 USB 滑鼠拖曳(按着滑鼠按键移动)时被呼叫。 语法 void mouseDragged() {   // statements } 范例 参见 - mouseMoved() - mousePressed() - mouseReleased() - getXChange() - getYChange() - getButton() 函式库参考主页面 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 […]


  • mouseMoved()

    mouseMoved()

    描述 mouseMoved()是一个函数,当 USB 滑鼠移动时被呼叫。 语法 void mouseMoved() {   // statements } 范例 参见 - mouseDragged() - mousePressed() - mouseReleased() - getXChange() - getYChange() - getButton() 函式库参考主页面 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 […]


  • MouseController

    MouseController

    描述 MouseController 是一个类别,包含许多控制滑鼠的成员函式。 语法 MouseController mouse(usb); 范例 函式 - mouseMoved() - mouseDragged() - mousePressed() - mouseReleased() - getXChange() - getYChange() - getButton() 函式库参考主页面 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 […]


  • Task()

    Task()

    描述 Task() 轮询连接的 USB 装置,并更新装置的状态。 语法 usb.Task() 参数 usb:物件名称,该物件属于 USB 类别 范例 参见 - MouseController - KeyboardController - USBHost 函式库参考主页面 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.


  • USBHost

    USBHost

    Description USBHost 是一个类别,所有存取 USB 键盘和滑鼠的动作都必须透过 USBHost。 语法 USBHost usb; 参见 - MouseController - KeyboardController 函式库主页面 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.


  • 86Duino 与 SSI 绝对式编码器连接范例

    86Duino 与 SSI 绝对式编码器连接范例

    下面提供 86Duino 与 SSI 信号类型的绝对编码器连接的一个例子。 本例使用 86Duino One 与 AM4096 旋转编码器 IC。AM4096 可以用 SSI 通信介面来输出绝对位置资讯,SSI 在连接方式上,只需要两条线:时脉线与资料线。在 AM4096 规格书中,对应 SSI 信号的脚位分别被标示为 Data 和 Clock,可直接连接到 86Duino One 的 ENC0 编码器介面的 A、B 两根针脚(即 digital pins 42、43),同时因为 AM4096 需要供应 3.3V 电源,因此我们将 86Duino One 的 3.3V 输出与 GND 分别接到 AM4096 的 Vdd 与 GND 脚位,如此即可用 Encoder 函式库的 SSI 模式来读取 AM4096 […]


  • IRremote 函式库

    IRremote 函式库

    86Duino 从 Coding 104 版本的 IDE 开始加入此函式库,其为 Ken Shirriff 所写的 Arduino 版本 IRremote 函式库 之移植。 关于此函式库之使用,可参考 Ken Shirriff 的原文网页,或 马万圳先生 及 叶难先生 的 blog 教学文章。 函式库参考主页面 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.