robo

Module encoder

Source
Expand description

ロータリーエンコーダー補助モジュール

Structs§

Encoder
ロータリーエンコーダー

Functions§

get_degree
角度を60分法で取得する。
get_radian
角度を弧度法で取得する。
get_revolution
回転回数を取得する。
update
カウンタを更新する。