mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Add PWMVictorSPX (#842)
This commit is contained in:
committed by
Peter Johnson
parent
7eab4371f4
commit
166d9e01bf
23
wpilibc/src/main/native/include/PWMVictorSPX.h
Normal file
23
wpilibc/src/main/native/include/PWMVictorSPX.h
Normal 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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user