Quote:
Originally Posted by JakeTheGreat
My team has plugged a limit switch into the data port on a TalonSRX and I can't find out how to get its value. Is there a method in CANTalon or something that we can use? Thank you.
|
If it's forward limit switch it should be
Code:
motor.isFwdLimitSwitchClosed()
for the reverse limit switch it should be
Code:
motor.isRevLimitSwitchClosed()
P.S Nice username