This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

timer problem again

this is my code:

timerVal.u16 = (((servoHundredEighty - servoZero) * (degreeValue/180)) + servoZero);

if all the variable are declare in unsigned char...this method can be used? or how i need to proceed with this if i would like to calculate certain value and put it into timerVal.u16, those variable will be in decimal eg:(-1000) ...
thanx

0