Thread
:
Limit switch help
View Single Post
#
1
15-02-2015, 21:42
nandeeka
Registered User
FRC #1868
Team Role: Programmer
Join Date: May 2014
Rookie Year: 2013
Location: United States
Posts: 53
Re: Limit switch help
If you are trying to stop the motor when the limit switch is pressed, use this line of code:
Code:
Motor.Set(0.0);
If you are trying to start the motor when the limit switch is pressed, use this line of code:
Code:
Motor.Set(0.5);
nandeeka
View Public Profile
Find all posts by nandeeka
Find CD-Media Photos by nandeeka
Find CD-Media Papers by nandeeka