aruduinoを用​いてロータリーエンコ​ーダー付きモータの値​を出力する方法

1 view (last 30 days)
雄太 前井
雄太 前井 on 5 Nov 2020
エンコーダーの値を出力するため,rotaryEncoder(a,chA,chB) の関数を用いましたが,
Library 'RotaryEncoder' is not uploaded to the board. Clear the current arduino object and recreate it to include the appropriate library. For a list of available libraries, type 'listArduinoLibraries'
というエラーが出てしまいました.
考えられる原因は,使用したエンコーダーのパルスが2つではなく,1つのものを使用しました.
パルスが1つであるエンコーダーはこの関数では使用できないのでしょうか.
もしそうであれば,パルスが1つのエンコーダーを制御する関数を教えていただきたいです.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!