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

1 回表示 (過去 30 日間)
雄太 前井
雄太 前井 2020 年 11 月 5 日
エンコーダーの値を出力するため,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つのエンコーダーを制御する関数を教えていただきたいです.

回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!