Articles Posted by the Author:

  • indexRead()

    indexRead()

    説明 Zピンの電位をフィードバックします。この関数がPulse/DIR、CW/CCW、A/B Pulseモードにしか使えないです。 語法 Enc0.indexRead() Enc1.indexRead() Enc2.indexRead() Enc3.indexRead() 変数


  • read()

    read()

    説明 カウンターの数値或いはパルス幅変調の読込み。フィードバック数値により、意味が違いますので、以下の説明を見て下さい。 語法 Enc0.read() Enc1.read() Enc2.read() Enc3.read() 変数 Enc0、Enc1、Enc2、Enc3:ENC0、ENC1、ENC2、ENC3のコーディング インターフェースにマッピングします。 フィードバック Pulse/DIR、CW/CCW、A/B Pulse モード:カウンターからの数値フィードバックします。 PWMモード:パスルLOW 或いはHIGH 幅の数値をカウンターします(単位:μs、測定可能最大時間は71分)。 注意:read()はISRライブラリにしか使えないです。 SSI モード:SSIカウンターからの数値をフィードバックします。 例 ENC0をA/B Pulseモードに設定して、カウンター数値を読込みします。 // カウンター数値を読込みする 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 […]


  • write()

    write()

    説明 Pulse/DIR、CW/CCW、A/B Pulse モード:86Duinoカウンターからの数値を設定します。 語法 Enc0.write(number) Enc1.write(number) Enc2.write(number) Enc3.write(number) 変数 Enc0、Enc1、Enc2、Enc3:ENC0、ENC1、ENC2、ENC3のコーディング インターフェースにマッピングします。 number:カウンターにての数値を設定します。(unsigned long 類) フィードバック なし 例 See also - read() 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 public domain.


  • begin()

    begin()

    説明 86Duinoのエンコーダのインターフェースを初期化して、動作モードを指定します。 語法 Enc0.begin(mode) Enc0.begin(mode, bits) Enc0.begin(mode, bits, clock) Enc0.begin(mode, bits, clock, wtime) Enc0.begin(mode, bits, clock, wtime, gray2bin) Enc1.begin(mode) Enc1.begin(mode, bits) Enc1.begin(mode, bits, clock) Enc1.begin(mode, bits, clock, wtime) Enc1.begin(mode, bits, clock, wtime, gray2bin) Enc2.begin(mode) Enc2.begin(mode, bits) Enc2.begin(mode, bits, clock) Enc2.begin(mode, bits, clock, wtime) Enc2.begin(mode, bits, clock, wtime, gray2bin) Enc3.begin(mode) Enc3.begin(mode, bits) Enc3.begin(mode, bits, clock) Enc3.begin(mode, […]


  • write()

    write()

    申し訳ありません、このコンテンツはただ今 简体中文、 繁體中文と English のみです。


  • prepare()

    prepare()

    申し訳ありません、このコンテンツはただ今 简体中文、 繁體中文と English のみです。


  • begin()

    begin()

    申し訳ありません、このコンテンツはただ今 简体中文、 繁體中文と English のみです。



  • SoftwareSerial Library

    SoftwareSerial Library

    The 86Duino hardware has built-in support for serial communication on pins 0 and 1. The native serial support happens via a piece of hardware (built into the chip) called a UART. This hardware allows 86Duino’s CPU to receive serial communication even while working on other tasks. The SoftwareSerial library allows serial communication on other digital […]