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 CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!