AnalogOutput

class wpilib.AnalogOutput(channel)[source]

Bases: wpilib.SensorBase

Analog output

Construct an analog output on a specified MXP channel.

Parameters:channel – The channel number to represent.
channels = <wpilib.resource.Resource object>
free()[source]

Channel destructor.

getChannel()[source]

Get the channel of this AnalogOutput.

getVoltage()[source]
port
setVoltage(voltage)[source]