I have been trying to program a limit switch for java for the 2016 competitions. I am having trouble figuring out what to do and the
FRC tutorial seems rather complex with my level of skill. I am wondering if there is an easy way to program a limit switch to stop a motor when it is activated. Thanks if you can help me out.