mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
24 lines
785 B
C++
24 lines
785 B
C++
/*----------------------------------------------------------------------------*/
|
|
/* Copyright (c) FIRST 2008-2017. 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) Talon SRX Speed Controller with PWM control
|
|
*/
|
|
class TalonSRX : public PWMSpeedController {
|
|
public:
|
|
explicit TalonSRX(int channel);
|
|
virtual ~TalonSRX() = default;
|
|
};
|
|
|
|
} // namespace frc
|