|
Treehopper C# API
|
Helper interface to describe pins that are both inputs and outputs 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 | |
| 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... | |
Helper interface to describe pins that are both inputs and outputs
|
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.
|
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