FRDM-TFC Example Code using Codewarrior

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FRDM-TFC Example Code using Codewarrior

FRDM-TFC Example Code using Codewarrior

In this video we will look at the example code provided for the FRDM-TFC for use with Codewarrior.  

ラベル(1)
コメント

Hey ,

I have a big problem with mi FRDM KL25Z ...

I have made a lot of test and all were good ! i success to do several thing and now i am friend with the code and code warrior !

So i intent to make my own code to the CUP , using the camera in order to control the car BUT

during the execution of the program all the shiel froze totally ... and the moto are in FULL POWER !! in my code i put the LED blinking and it Froze also !! i have to press the reset button and it is good for some seconde and again it froze in full power ...

I take the time with a chronometer between the beginning and the Froze , and it depend of the number of execution in my loop ... 50 times and Froze !!

explanation : my code is :

main(){

while(1) {

     if( ticker[0] > T)

     ticker = 0

     instruction;

     instruction ;

     ..

     ..

}

}

So i notice that the car froze in full power when the code do 50 times the " if ticker ..... " .

so it go out of the while after 50*T ... and all the power of the motor a the maximum ...

A dont understand why ???!!! I really need help because in 1 big month there are the qualification EMEAa ...

More over the gears of the motor transmission was broken during the shield froze because of the full power in the motor .. Do you know where i can by a new ?

BEST , thanksss

LUCAS mAHIEU

PS : Sorry i am french and my english is not really good ...

評価なし
バージョン履歴
最終更新日:
‎08-28-2013 10:06 AM
更新者: