dashboard + limit id
This commit is contained in:
@@ -16,9 +16,10 @@ public class Elevateur extends SubsystemBase {
|
||||
/** Creates a new Elevateur. */
|
||||
public Elevateur() {
|
||||
teb.addDouble("encodeur elevateur",this::position);
|
||||
teb.addBoolean("limit elevateur", this::limit2);
|
||||
}
|
||||
final SparkMax monte = new SparkMax(22, MotorType.kBrushless);
|
||||
final DigitalInput limit2 = new DigitalInput(1);
|
||||
final DigitalInput limit2 = new DigitalInput(0);
|
||||
|
||||
public double position(){
|
||||
return monte.getEncoder().getPosition();
|
||||
|
Reference in New Issue
Block a user