So basically we can't get a change in value when the limit switch is pressed.
We have one end of the limit switch wired to signal and the other to ground on the Digital Inputs on the Digital Sidecar.
We are using Java for our programming.
Heres the code pulled out from robotInit and teleopPeridodic:
Code:
private DigitalInput limit;
limit = new DigitalInput(1);
System.out.println("ingest switch: " + limit.get());
We tried connecting the ground a signal wires together without the limit switch, tried different cables, and different ports. Nothing seems to work.
If someone has any idea on what to try it would be helpful.
We are gonna try a new digital sidecar tomorrow and see if that works.