Thread
:
3 Position Solenoid Help
View Single Post
#
3
15-03-2013, 07:10
tuXguy15
Team Mentor
AKA: Devin Kolarac
FRC #2559 (Normality Zero)
Join Date: Apr 2012
Rookie Year: 2012
Location: Harrisburg, PA
Posts: 127
Re: 3 Position Solenoid Help
So something like this?
-----
if(joystick1.getRawButton(8)) {
solenoid7.set(true);
}else{
solenoid7.set(false);
}
if(joystick1.getRawButton(9)) {
solenoid8.set(true);
}else{
solenoid8.set(false);
}
tuXguy15
View Public Profile
Find all posts by tuXguy15
Find CD-Media Photos by tuXguy15
Find CD-Media Papers by tuXguy15