|
Treehopper C# API
|
Interface for digital pins supporting input functionality More...
Public Member Functions | |
| Task< bool > | AwaitDigitalValueChangeAsync () |
| Awaits until the digital value changes More... | |
| Task | MakeDigitalInAsync () |
| Make the pin a digital input More... | |
Properties | |
| bool | DigitalValue [get] |
| Get or set the DigitalValue of the pin More... | |
Events | |
| OnDigitalInValueChanged | DigitalValueChanged |
| Fires whenever the digital pin's input changes value More... | |
Interface for digital pins supporting input functionality
| Task<bool> AwaitDigitalValueChangeAsync | ( | ) |
Awaits until the digital value changes
Implemented in Pin, PortExpanderPin, and DigitalInPeripheralPin.
| Task MakeDigitalInAsync | ( | ) |
Make the pin a digital input
Implemented in Pin, PortExpanderPin, and DigitalInPeripheralPin.
|
getinherited |
Get or set the DigitalValue of the pin
| OnDigitalInValueChanged DigitalValueChanged |
Fires whenever the digital pin's input changes value