IOutputSegment Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Abstracts a segment of outputs from multiplexing sources (like a shift register).
public interface IOutputSegment : IDisposable
type IOutputSegment = interface
interface IDisposable
Public Interface IOutputSegment
Implements IDisposable
- Derived
- Implements
Item[Int32] |
Segment values. |
Length |
Length of segment (number of outputs) |
Display(Cancellation |
Displays current state of segment. Segment is displayed at least until token receives a cancellation signal, possibly due to a specified duration expiring. |
Display |
Displays current state of segment. Segment is displayed at least until token receives a cancellation signal, possibly due to a specified duration expiring. |
Turn |
Turns off all outputs. |
Write(Byte) |
Writes discrete underlying bits to a virtual segment. Writes each bit, left to right. Least significant bit will written to index 0. Does not display output. |
Write(Int32, Pin |
Writes a PinValue to a virtual segment. Does not display output until calling Display() or Display(CancellationToken ct) methods. |
Write(Read |
Writes discrete underlying bits to a virtual output. Writes each byte, left to right. Least significant bit will written to index 0. Does not display output. |
Produkt | Versioner |
---|---|
.NET IoT Libraries | 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |