Class T3xxx.VoltageInputPort
Represents a voltage input port on a Temco Controls T3 module. Provides functionality to read voltage measurements from analog input channels.
Assembly: Temco.T3xxx.dll
View Source
Declaration
public class T3xxx.VoltageInputPort : IVoltageInputPort
Implements:
Meadow.Hardware.IVoltageInputPort
Properties
Pin
Gets the pin associated with this voltage input port.
View Source
Declaration
public IPin Pin { get; }
Methods
Read()
Asynchronously reads the current voltage value from the input port. The raw register value is converted from centivolt units to voltage.
View Source
Declaration
public ValueTask<Voltage> Read()
Returns
System.Threading.Tasks.ValueTask<Meadow.Units.Voltage>: A ValueTask containing the measured voltage value.
Implements
Meadow.Hardware.IVoltageInputPort