CharlieplexSegment Class
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.
Provides support for Charlieplex multiplexing. https://wikipedia.org/wiki/Charlieplexing
public class CharlieplexSegment : IDisposable
public class CharlieplexSegment : IDisposable, Iot.Device.Multiplexing.IOutputSegment
type CharlieplexSegment = class
interface IDisposable
type CharlieplexSegment = class
interface IOutputSegment
interface IDisposable
Public Class CharlieplexSegment
Implements IDisposable
Public Class CharlieplexSegment
Implements IDisposable, IOutputSegment
- Inheritance
-
CharlieplexSegment
- Implements
Charlieplex |
Initializes a new Charlieplex type that can be use for multiplex over a relatively small number of GPIO pins. |
Length |
The length of the segment; the number of GPIO pins it exposes. |
Node |
The number of nodes (like LEDs) that can be addressed. |
Display(Cancellation |
Displays nodes in their current configuration for the specified duration. |
Display |
Displays nodes in their current configuration for the specified duration. |
Dispose() |
Cleanup. Failing to dispose this class, especially when callbacks are active, may lead to undefined behavior. |
Get |
Provides the set of Charlie nodes given the set of pins and the count provided. If count = 0, then the Charlieplex maximum is used for the pins provided (n^2-n). |
Write(Int32, Pin |
Write a PinValue to a node, to update Charlieplex segment. Address scheme is 0-based. Given 8 nodes, addresses would be 0-7. Displays nodes in their updated configuration for the specified duration. |
Write(Int32, Pin |
Write a PinValue to a node, to update Charlieplex segment. Address scheme is 0-based. Given 8 nodes, addresses would be 0-7. Displays nodes in their updated configuration for the specified duration. |
IOutput |
Displays current state of segment. Segment is displayed at least until token receives a cancellation signal, possibly due to a specified duration expiring. |
IOutput |
Displays current state of segment. Segment is displayed at least until token receives a cancellation signal, possibly due to a specified duration expiring. |
IOutput |
Segment values. |
IOutput |
Clears shift register. Performs a latch. |
IOutput |
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. |
IOutput |
Writes a PinValue to a virtual segment. Does not display output. |
IOutput |
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. |
Product | Versions |
---|---|
.NET IoT Libraries | 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |