dcarswell
23-01-2012, 20:19
Hello,
Our team is trying to program the robot so that when we turn it on, the compressor fills up the tanks until it reaches the max psi it is supposed to go, and then with a press of a button the solenoid opens and the piston goes forward. And everytime the tank goes under pressure, it refills.
This is the code I have so far. .Could you give me some extra insight unto what I am doing wrong..
Thank you, very much
http://img11.imageshack.us/img11/4522/operatorcontrol.png (http://imageshack.us/photo/my-images/11/operatorcontrol.png/)
Uploaded with ImageShack.us (http://imageshack.us)
Our team is trying to program the robot so that when we turn it on, the compressor fills up the tanks until it reaches the max psi it is supposed to go, and then with a press of a button the solenoid opens and the piston goes forward. And everytime the tank goes under pressure, it refills.
This is the code I have so far. .Could you give me some extra insight unto what I am doing wrong..
Thank you, very much
http://img11.imageshack.us/img11/4522/operatorcontrol.png (http://imageshack.us/photo/my-images/11/operatorcontrol.png/)
Uploaded with ImageShack.us (http://imageshack.us)