10 #include <hal/Types.h>
12 #include "frc/ErrorBase.h"
13 #include "frc/smartdashboard/SendableBase.h"
67 void Pulse(
double length);
124 HAL_DigitalHandle m_handle;
125 HAL_DigitalPWMHandle m_pwmGenerator;
Definition: SPIAccelerometerSim.h:18
void EnablePWM(double initialDutyCycle)
Enable a PWM Output on this line.
bool IsPulsing() const
Determine if the pulse is still going.
bool Get() const
Gets the value being output from the Digital Output.
void UpdateDutyCycle(double dutyCycle)
Change the duty-cycle that is being generated on the line.
DigitalOutput(int channel)
Create an instance of a digital output.
void SetPWMRate(double rate)
Change the PWM frequency of the PWM output on a Digital Output line.
void DisablePWM()
Change this line from a PWM output back to a static Digital Output line.
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
void Set(bool value)
Set the value of a digital output.
Base class for most objects.
Definition: ErrorBase.h:74
Definition: SendableBase.h:19
Class to write to digital outputs.
Definition: DigitalOutput.h:24
Definition: SendableBuilder.h:23
void Pulse(double length)
Output a single pulse on the digital output line.