Articles Posted in the " " Category

  • Mouse.click()

    Mouse.click()

    Description Sends a momentary click to the computer at the location of the cursor. This is the same as pressing and immediately releasing the mouse button. Mouse.click() defaults to the left mouse button. WARNING: When you use the Mouse.click() command, the 86Duino takes over your mouse! Make sure you have control before you use the […]


  • Mouse.begin()

    Mouse.begin()

    Description Begins emulating the mouse connected to a computer. begin() must be called before controlling the computer. To end control, use Mouse.end(). Syntax Mouse.begin() Parameters none Returns nothing Example See also - Mouse.click() - Mouse.end() - Mouse.move() - Mouse.press() - Mouse.release() - Mouse.isPressed() Reference Home The text of the 86Duino reference is a modification of […]


  • Mouse and Keyboard USB-HID Libraries

    Mouse and Keyboard USB-HID Libraries

    These core libraries are available from 86Duino Coding 104, and allow an 86Duino board to appear as a native Mouse and/or Keyboard to a connected computer. A word of caution on using the Mouse and Keyboard libraries: if the Mouse or Keyboard library is constantly running, it will be difficult to program your board. Functions […]


  • end()

    end()

    Description Shut down 86Duino’s encoder interface. (After encoder is shut down with the end() function, you can use the begin()function to re-initialize the interface with a new operating mode.) Syntax Enc0.end() Enc1.end() Enc2.end() Enc3.end() Parameters Enc0、Enc1、Enc2、Enc3:Corresponding to ENC0, ENC1, ENC2 and ENC3 encoder interfaces. Returns None See also - begin() Libraries Reference Home The text […]


  • pulseInNanoseconds()

    pulseInNanoseconds()

    Description This function is similar to the pulseIn() function, returns value in nano-second (ns) and limite the maximum pulse width to 4.2 seconds. Note: This function is designed to work in the PWM pulse width capture mode. This function cannot be used in conjunction with the encoder library’s attachInterrupt(). After calling attachInterrupt() and mount ISR, […]


  • setInputPolarity()

    setInputPolarity()

    Description Set signal polarity for pin A, B and Z, such as: Under the Pulse/DIR mode, set pin A polarity to LOW, which configure the system to interpret the low voltage condition for pin A as signal HIGH and high voltage condition for the pin as signal LOW. This function is valid under the Pulse/DIR, […]


  • setDigitalFilter()

    setDigitalFilter()

    Description Set digital filter function on pin A, B and Z, to filter noise within a specified range. Note: In the pulse capture mode, this function can only be used prior to the attachInterrupt(), pulseIn() and pulseInNanoseconds() function within the Encoder library. Syntax Enc0.setDigitalFilter(val) Enc1.setDigitalFilter(val) Enc2.setDigitalFilter(val) Enc3.setDigitalFilter(val) Parameters Enc0、Enc1、Enc2、Enc3:Corresponding to ENC0, ENC1, ENC2 and ENC3 […]


  • setIndexReset()

    setIndexReset()

    Description Set an associated interrupt event to reset the index (when pin Z from the encoder interface go HIGH, it trigger the interrupt). This function can be use under the Pulse/DIR, CW/CCW and A/B Pulse modes. Attention: Calling this function trigger index reset (when pin Z changes to HIGH), and set encoder’s counter value to […]


  • setComparator()

    setComparator()

    Description Set the counter value to trigger interrupt. When the encoder’s counter value reach this value, it trigger an interrupt event and reset the counter. This function can only be use in the Pulse/DIR, CW/CCW and A/B Pulse modes. Syntax Enc0.setComparator(val) Enc0.setComparator(val, condition) Enc1.setComparator(val) Enc1.setComparator(val, condition) Enc2.setComparator(val) Enc2.setComparator(val, condition) Enc3.setComparator(val) Enc3.setComparator(val, condition) Parameters Enc0、Enc1、Enc2、Enc3:Corresponding to […]


  • detachInterrupt()

    detachInterrupt()

    Description Detach interrupt service to encoder interface. Syntax Enc0.detachInterrupt() Enc1.detachInterrupt() Enc2.detachInterrupt() Enc3.detachInterrupt() Parameters Enc0、Enc1、Enc2、Enc3:Corresponding to ENC0, ENC1, ENC2 and ENC3 encoder interfaces. Returns None See also - attachInterrupt() Libraries Reference Home 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 […]