你好,K230的RTOS目前支持旋转编码器,使用的是GPIO中断来实现的,如果用来测速,可能不太现实。 https://github.com/canmv-k230/k230_rtsmart_lib/tree/canmv_k230/rtsmart_hal/drivers/rotary_encoder