|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
DigitalInput.Get() always returns zero
...well, almost always.
I'm using the IterativeRobot template and polling a DigitalInput within the AutonomousPeriodic() function. I have a NO switch wired between GND and SIG on sidecar digital input #1. The very first time through the loop, the call to Get() returns the correct value corresponding to the switch state. Every time after that, it always returns zero, regardless of the state of the switch. What is my issue, hardware or software? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|