|
Re: Solenoid Wiring and Compressor Help
ok, i just verified that the pressure switch goes to ground and signal on dio's.
anyway, we dont have a compressor on our robot, but i think at some point we tested code with it. I remember opening and starting the compressor outside of the main loop, then sending the wire through the main loop, and stopping and closing it on the other side of the loop. that should make it continually run while the bot is on.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
|