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
| Type | Name | Description |
|---|---|---|
| Meadow.Hardware.IPin | pin | The 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
| Type | Name | Description |
|---|---|---|
| Meadow.Hardware.IPin | pin | The physical pin to associate with the voltage output port. |
| Meadow.Units.Voltage | initialVoltage | The initial voltage value to set on the output port upon creation. |