|
Treehopper C# API
|
A port expander pin More...
Public Member Functions | |
| Task< bool > | AwaitDigitalValueChangeAsync () |
| Awaits until the digital value changes More... | |
| Task | MakeDigitalInAsync () |
| Make the pin a digital input More... | |
| Task | ToggleOutputAsync () |
| Toggle the output's value More... | |
| Task | MakeDigitalPushPullOutAsync () |
| Make the pin a push-pull output More... | |
Properties | |
| PortExpanderPinMode | Mode [get, set] |
| The mode to use with this port expander pin More... | |
| int | PinNumber [get] |
| The pin (bit) number of this port expander pin More... | |
| bool | DigitalValue [get] |
| Get or set the DigitalValue of the pin More... | |
| new bool | DigitalValue [get, set] |
| Get or set the digital value of the pin More... | |
Events | |
| OnDigitalInValueChanged | DigitalValueChanged |
| Fires whenever the digital pin's input changes value More... | |
A port expander pin
|
inherited |
Awaits until the digital value changes
Implemented in Pin, PortExpanderPin, and DigitalInPeripheralPin.
|
inherited |
Make the pin a digital input
Implemented in Pin, PortExpanderPin, and DigitalInPeripheralPin.
|
inherited |
Toggle the output's value
Implemented in Pin, PortExpanderPin, and ShiftOutPin.
|
inherited |
Make the pin a push-pull output
Implemented in Pin, PortExpanderPin, and ShiftOutPin.
|
getset |
The mode to use with this port expander pin
|
get |
The pin (bit) number of this port expander pin
|
getinherited |
Get or set the DigitalValue of the pin
|
getsetinherited |
Get or set the digital value of the pin
|
inherited |
Fires whenever the digital pin's input changes value