FRDM-TFC Example Code using Codewarrior

cancel
Showing results for 
Search instead for 
Did you mean: 

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.  

Labels (1)
Comments

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 ...

Version history
Revision #:
1 of 1
Last update:
‎08-28-2013 10:06 AM
Updated by: