|
Controller Speed programming
I want to be able to have my robot only going so fast when the variables are between like 127 to 200 but when the variable exceeds 200 it returns to beening the normal variable. How can I do this in easyC?
Example:
-if pwm1 is between 127<200 set it to 150
-but once pwm1 is < 200 go back to equaling its correct variable
Last edited by team877 : 13-01-2008 at 19:55.
|