10 #include <hal/AnalogOutput.h>
12 #include "frc/ErrorBase.h"
13 #include "frc/smartdashboard/SendableBase.h"
59 HAL_AnalogOutputHandle m_port = HAL_kInvalidHandle;
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
AnalogOutput(int channel)
Construct an analog output on the given channel.
int GetChannel()
Get the channel of this AnalogOutput.
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
MXP analog output class.
Definition: AnalogOutput.h:20
Base class for most objects.
Definition: ErrorBase.h:74
Definition: SendableBase.h:19
Definition: SendableBuilder.h:23
void SetVoltage(double voltage)
Set the value of the analog output.
double GetVoltage() const
Get the voltage of the analog output.