Update examples to use VictorSPX's rather then Sparks (#1521)

This commit is contained in:
Thad House
2018-12-31 13:45:09 -08:00
committed by Peter Johnson
parent 3635116049
commit c12d7729e3
32 changed files with 96 additions and 95 deletions

View File

@@ -6,7 +6,7 @@
/*----------------------------------------------------------------------------*/
#include <frc/Joystick.h>
#include <frc/Spark.h>
#include <frc/PWMVictorSPX.h>
#include <frc/TimedRobot.h>
/**
@@ -23,7 +23,7 @@ class Robot : public frc::TimedRobot {
private:
frc::Joystick m_stick{0};
frc::Spark m_motor{0};
frc::PWMVictorSPX m_motor{0};
};
#ifndef RUNNING_FRC_TESTS