Skip to main content

Interface IVoltageOutputController

Defines the contract for voltage output controllers on Temco Controls T3 modules. Provides factory methods for creating voltage output port instances with optional initial values.

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public interface IVoltageOutputController

Methods​

CreateVoltageOutputPort(IPin)​

Creates a new voltage output port instance associated with the specified pin.

View Source​
Declaration
IVoltageOutputPort CreateVoltageOutputPort(IPin pin)
Returns​

Meadow.Hardware.IVoltageOutputPort: A new IVoltageOutputPort instance configured for the specified pin.

Parameters​
TypeNameDescription
Meadow.Hardware.IPinpinThe physical pin to associate with the voltage output port.

CreateVoltageOutputPort(IPin, Voltage)​

Creates a new voltage output port instance associated with the specified pin and sets an initial voltage value.

View Source​
Declaration
IVoltageOutputPort CreateVoltageOutputPort(IPin pin, Voltage initialVoltage)
Returns​

Meadow.Hardware.IVoltageOutputPort: A new IVoltageOutputPort instance configured for the specified pin with the initial voltage applied.

Parameters​
TypeNameDescription
Meadow.Hardware.IPinpinThe physical pin to associate with the voltage output port.
Meadow.Units.VoltageinitialVoltageThe initial voltage value to set on the output port upon creation.