|
Help with automatic relay control
Forgive me if this is answered somewhere else -- I looked and could not find.
I am trying to get a relay to automatically fire forward when the analog values to a pwm are in a range around nutral. I put an if statement in with an assignment specifying the condition I want and it works, but will not change states when when the joystick is moved out of the range. I tried adding an else if statement after, I tried a while loop, no good???
Any suggestions -- I know it is something simple I am missing.
Last edited by DRH2o : 23-01-2008 at 13:21.
|