diff --git a/src/main/java/frc/robot/subsystems/Accumulateur.java b/src/main/java/frc/robot/subsystems/Accumulateur.java index 3437c27..8e9a8a9 100644 --- a/src/main/java/frc/robot/subsystems/Accumulateur.java +++ b/src/main/java/frc/robot/subsystems/Accumulateur.java @@ -5,13 +5,16 @@ package frc.robot.subsystems; +import com.ctre.phoenix.motorcontrol.can.TalonSRX; +import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX; + import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.motorcontrol.Talon; import edu.wpi.first.wpilibj2.command.SubsystemBase; import frc.robot.Constants; public class Accumulateur extends SubsystemBase { - private Talon moteuracc = new Talon(Constants.accumulateur); + private WPI_TalonSRX moteuracc = new WPI_TalonSRX(Constants.accumulateur); /** Creates a new Accumulateur. */ public Accumulateur() {