piston
This commit is contained in:
@ -22,14 +22,14 @@ public class Pistongrimpeur extends Command {
|
||||
// Called when the command is initially scheduled.
|
||||
@Override
|
||||
public void initialize() {
|
||||
grimpeur.pistondroiteouvre();
|
||||
grimpeur.pistonouvre();
|
||||
}
|
||||
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
public void execute() {
|
||||
|
||||
if(grimpeur.pistondgaucheouvre()){
|
||||
if(grimpeur.piston()){
|
||||
LED.couleur(0, 0, 255);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user