RT-Thread-packages / rt-robot

a platform in creating new exciting robots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ab_phase_encoder现在可以用了吗

gobelieve2 opened this issue · comments

ab_phase_encoder_t ab_phase_encoder_create(rt_base_t pin_a, rt_base_t pin_b, rt_uint16_t pulse_revol)
参数pulse_revol是指中断频率?
能多提供一点使用说明吗

commented

@gobelieve2 可以用, pulse_revol 是车轮转一圈输出的脉冲数