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.

28069m+drv8305组合,电机正反转的周期问题

Other Parts Discussed in Thread: C2000WARE

lab5b工程里面,已经用程序写好正反转,但是正转几秒或者反转几秒,我不知道怎么算?请求帮助!!!!

if(i>500)

{ speed=5000;}

if(i>1000)

{speed=-5000;}