public class AnalogOutput extends SendableBase implements Sendable
| Constructor and Description |
|---|
AnalogOutput(int channel)
Construct an analog output on a specified MXP channel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
free()
Channel destructor.
|
int |
getChannel()
Get the channel of this AnalogOutput.
|
double |
getVoltage() |
void |
initSendable(SendableBuilder builder)
Initializes this
Sendable object. |
void |
setVoltage(double voltage) |
addChild, getName, getSubsystem, setName, setName, setName, setSubsystemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getSubsystem, setName, setName, setSubsystempublic AnalogOutput(int channel)
channel - The channel number to represent.public void free()
free in class SendableBasepublic int getChannel()
public void setVoltage(double voltage)
public double getVoltage()
public void initSendable(SendableBuilder builder)
SendableSendable object.initSendable in interface Sendablebuilder - sendable builder