View Single Post
  #3   Spotlight this post!  
Unread 02-02-2002, 13:59
sjharobotics sjharobotics is offline
Registered User
#0581 (San Jose High Robotics Team)
 
Join Date: Feb 2002
Location: San Jose High Academy
Posts: 2
sjharobotics is an unknown quantity at this point
This is the program:

' Test the state of the pressure switch
if rc_sw1 = 1then pump_on 'jump if under the pressure limit

' 110 psi pressure limit has been reached
' turn pump off

pump_off:
relay5_fwd = 0
relay5_rev = 0
goto nextaction:

'turn pump on
pump_on:
relay5_fwd = 1
relay5_rev = 0

nextaction:


you need to comment the lines containing these right below it

Hope this helps
__________________
581 - San Jose High Robotics Team