Hi everyone,
if I declare a limit switch like this:
MeLimitSwitch limitSwitch1(PORT_7, SLOT1); // connecte to Me RJ25 Adapter SLOT1
MeLimitSwitch limitSwitch2(PORT_7, SLOT2); // connecte to Me RJ25 Adapter SLOT2
and I check if limitSwitch1 is touched without connecting any cable to SLOT1, it keeps telling me that limitSwitch1 is touched.
Why???