WPILibC++  2018.4.1-20180920141831-1187-gd2a5aaa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Spark.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #pragma once
9 
10 #include "frc/PWMSpeedController.h"
11 
12 namespace frc {
13 
17 class Spark : public PWMSpeedController {
18  public:
25  explicit Spark(int channel);
26 };
27 
28 } // namespace frc
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
REV Robotics Speed Controller.
Definition: Spark.h:17
Spark(int channel)
Constructor for a Spark.
Common base class for all PWM Speed Controllers.
Definition: PWMSpeedController.h:18