This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

在InstaSPIN-MOTION中lab12a中,加入自己传感器分部代码,不是TI的代码



芯片是28069M的,自己的传感器跟TI的传感器不一样,自己读出角度,加入代码当中,只需要修改这里吗?CTRL_run(ctrlHandle,halHandle,&gAdcData,&gPwmData,ENC_getElecAngle(encHandle));改成CTRL_run(ctrlHandle,halHandle,&gAdcData,&gPwmData,自己读出来的角度值(_IQ24(angle))0~1.0);我改完之后电机运行不正常,其他地方的程序需要改吗?谢谢