I need to limit the amount of air sent into a solenoid to 'lightly' push a frisbee into the shooter. At the moment the solenoid fires the frisbee out and gets it stuck in the middle of the two wheels. I would like to have it slowly move foreword, here is the current solenoid code i have:
inside my extend solenoid function
Code:
if (joy1.getRawButton(11)) {
Arm3.extend();
}
else if (joy1.getRawButton(12) {
Arm3.retract();
}
extend and recract functions:
Code:
public void extend()
{
sol1.set(false);
sol2.set(true);
}
public void retract()
{
sol1.set(true);
sol2.set(false);
}