Compare commits
2 Commits
2ca57f2556
...
2b35ef9267
Author | SHA1 | Date | |
---|---|---|---|
2b35ef9267 | |||
b070971185 |
@ -13,7 +13,7 @@ public class Accumulateur extends SubsystemBase {
|
|||||||
|
|
||||||
/** Creates a new Accumulateur. */
|
/** Creates a new Accumulateur. */
|
||||||
public Accumulateur() {dashboard.addBoolean("photocellacc", this::photocell).withSize(1, 1).withPosition(0, 1);
|
public Accumulateur() {dashboard.addBoolean("photocellacc", this::photocell).withSize(1, 1).withPosition(0, 1);
|
||||||
|
dashboard.addBoolean("photocellacc2", this::photocell).withSize(1, 1).withPosition(0, 1);
|
||||||
}
|
}
|
||||||
ShuffleboardTab dashboard = Shuffleboard.getTab("dashboard");
|
ShuffleboardTab dashboard = Shuffleboard.getTab("dashboard");
|
||||||
|
|
||||||
@ -26,6 +26,7 @@ public class Accumulateur extends SubsystemBase {
|
|||||||
final WPI_TalonSRX accumulateur1 = new WPI_TalonSRX(0);
|
final WPI_TalonSRX accumulateur1 = new WPI_TalonSRX(0);
|
||||||
final WPI_TalonSRX accumulateur2 = new WPI_TalonSRX(10);
|
final WPI_TalonSRX accumulateur2 = new WPI_TalonSRX(10);
|
||||||
final DigitalInput photocell = new DigitalInput(94);
|
final DigitalInput photocell = new DigitalInput(94);
|
||||||
|
final DigitalInput photocell2 = new DigitalInput(93);
|
||||||
public void encodeur(){
|
public void encodeur(){
|
||||||
}
|
}
|
||||||
public boolean photocell(){
|
public boolean photocell(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user