lab5b工程里面,已经用程序写好正反转,但是正转几秒或者反转几秒,我不知道怎么算?请求帮助!!!!
if(i>500)
{ speed=5000;}
if(i>1000)
{speed=-5000;}
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.
lab5b工程里面,已经用程序写好正反转,但是正转几秒或者反转几秒,我不知道怎么算?请求帮助!!!!
if(i>500)
{ speed=5000;}
if(i>1000)
{speed=-5000;}
你可以参考一下这个例程,里面就是没秒翻转一次GPIO口:C:\ti\c2000\C2000Ware_3_01_00_00\device_support\f2806x\examples\c28\gpio_toggle
TI 诚邀您参加全新设计的产品页面测试,参加测试即可享有 TI 购物 9 折优惠码,点击加入 EP产品页面测试报名,名额有限。感谢您的参与!