|
Re: Limit switch help
Firstly, you need to say Motor.Set() instead of Set.Motor(). Also, you are giving the motor a speed of 1.5, when the range of values possible is {-1.0, 1.0}. Finally, a digital input returns a boolean, so you should be checking if the limit switch value is true instead of if it is greater than 0.
Last edited by nandeeka : 02-15-2015 at 06:19 PM.
|