Thread: Compressor
View Single Post
  #6   Spotlight this post!  
Unread 04-02-2003, 22:41
jon virgi jon virgi is offline
Registered User
#1191 (Eagles)
 
Join Date: Jan 2003
Location: Pittsburgh
Posts: 32
jon virgi is an unknown quantity at this point
Send a message via AIM to jon virgi
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........