@ghorrocks217 instead, we need to call the methods on the sparkmax to set it to respond to the limit switches that are plugged in. You can look up how to do this in the rev examples repo we have looked at previously. Please remove the methods related to limit switch reading from this class.
https://github.com/FRCTeam3044/2024SwerveBase/blob/60f85b4a5d5addeb974ca0ef6b9bcd1262ac689a/src/main/java/frc/robot/subsystems/ElevatorSubsystem.java#L27
@ghorrocks217 instead, we need to call the methods on the sparkmax to set it to respond to the limit switches that are plugged in. You can look up how to do this in the rev examples repo we have looked at previously. Please remove the methods related to limit switch reading from this class.