|
Digital I/O putting out +5V when robot disabled
Our technical mentor and rookies were trying out code to put our compressor on a toggle (joystick button). it is plugged into a digital i/o and not a relay port. But when we first power up the robot, and our teleop is still disabled, we are getting +5 to the Spike which is powering the compressor. We do not have the pressure switch wired. Can anyone explain why the digital i/o is doing this when the robot is disabled, and what we can do to fix it?
__________________
"In this life we cannot do great things. We can only do small things with great love." -- Mother Teresa
"You give yourself to us, O Lord, then selfless let us be, to serve each other in Your name, in truth and charity." -- Robert E. Kreutz, You Satisfy the Hungry Heart
"You have the right to work, but for the work's sake only. You have no rights to the fruits of work. Desire for the fruits of work must never be your motive in working. Never give way to laziness, either...Work done with anxiety about results is far inferior to work done without such anxiety, in the calm of self-surrender...They who work selfishly for results are miserable." -- from the Bhagavad Gita, quoted in Educating Esmé
|