Class SimulatedCurrentInputPort
Represents a simulated current input port on a Temco Controls T3 module.
Assembly: Temco.T3xxx.dll
View Source
Declaration
public class SimulatedCurrentInputPort : ICurrentInputPort
Implements:
Meadow.Hardware.ICurrentInputPort
Properties
Pin
Gets the physical pin associated with this current input port.
View Source
Declaration
public IPin Pin { get; }
Methods
Read()
Asynchronously reads the current value from the input port.
View Source
Declaration
public ValueTask<Current> Read()
Returns
System.Threading.Tasks.ValueTask<Meadow.Units.Current>: A ValueTask containing the measured current value.
Implements
Meadow.Hardware.ICurrentInputPort