|
u can just put this :
relayX_fwd = rc_swY
relayX_rev = 0
where X is the relay used for compressor and Y is the switch of the pressure sensor, i assume u know which one corresponds to the pin u soldered the wires on.
and put this in the PERFORM OPERATIONS section of the program instead of the
relay2_fwd = p2_sw_trig &~ rc_sw3
relay2_rev = p2_sw_top &~ rc_sw4
or whichever relay you are using.
__________________
Keystone Oaks Robotics Team President / Webmaster / Lead Pneumatics designer / Lead electrical........
|