mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Add Digilent DMC 60 Speed Controller (#855)
This commit is contained in:
committed by
Peter Johnson
parent
566e283694
commit
02131639bc
22
wpilibc/src/main/native/include/DMC60.h
Normal file
22
wpilibc/src/main/native/include/DMC60.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* 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 {
|
||||
|
||||
/**
|
||||
* Digilent DMC 60 Speed Controller.
|
||||
*/
|
||||
class DMC60 : public PWMSpeedController {
|
||||
public:
|
||||
explicit DMC60(int channel);
|
||||
};
|
||||
|
||||
} // namespace frc
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "Compressor.h"
|
||||
#include "ControllerPower.h"
|
||||
#include "Counter.h"
|
||||
#include "DMC60.h"
|
||||
#include "DigitalInput.h"
|
||||
#include "DigitalOutput.h"
|
||||
#include "DigitalSource.h"
|
||||
|
||||
Reference in New Issue
Block a user