Reconfigured the motor to get intake to run.

This commit is contained in:
KyraRivera
2020-02-08 15:23:42 -07:00
parent de1fea6e9c
commit 92feb32651
3 changed files with 7 additions and 4 deletions
@@ -7,12 +7,15 @@
package frc4388.robot.subsystems;
import com.revrobotics.CANSparkMax;
import com.revrobotics.CANSparkMaxLowLevel.MotorType;
import edu.wpi.first.wpilibj.Spark;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import frc4388.robot.Constants.IntakeConstants;
public class Intake extends SubsystemBase {
Spark m_intakeMotor = new Spark(IntakeConstants.INTAKE_SPARK_ID);
CANSparkMax m_intakeMotor = new CANSparkMax(IntakeConstants.INTAKE_SPARK_ID, MotorType.kBrushless);
/**
* Creates a new Intake.