Add PWMVictorSPX (#842)

This commit is contained in:
Thad House
2017-12-17 19:59:30 -08:00
committed by Peter Johnson
parent 7eab4371f4
commit 166d9e01bf
4 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2017 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
#include "PWMSpeedController.h"
namespace frc {
/**
* Cross the Road Electronics (CTRE) Victor SPX Speed Controller with PWM
* control.
*/
class PWMVictorSPX : public PWMSpeedController {
public:
explicit PWMVictorSPX(int channel);
};
} // namespace frc

View File

@@ -63,6 +63,7 @@
#include "PWM.h"
#include "PWMSpeedController.h"
#include "PWMTalonSRX.h"
#include "PWMVictorSPX.h"
#include "PowerDistributionPanel.h"
#include "Preferences.h"
#include "Relay.h"