|
Treehopper C# API
|
A digital output pin part of a shift register output More...
Public Member Functions | |
| async Task | MakeDigitalPushPullOutAsync () |
| Make the pin a push-pull output. More... | |
| async Task | ToggleOutputAsync () |
| Toggle the output More... | |
Properties | |
| int | BitNumber [get, protected set] |
| The bit number, 0-n, of the n-bit output. More... | |
| bool | DigitalValue [get, set] |
| Gets or sets the digital value of the pin. More... | |
A digital output pin part of a shift register output
| async Task MakeDigitalPushPullOutAsync | ( | ) |
Make the pin a push-pull output.
This function has no effect, since all ShiftOut pins are always push-pull outputs.
Implements DigitalOut.
| async Task ToggleOutputAsync | ( | ) |
Toggle the output
Implements DigitalOut.
|
getprotected set |
The bit number, 0-n, of the n-bit output.
|
getset |
Gets or sets the digital value of the pin.
Since this is an output-only pin, getting its value will return the current state of the output.