Switch Class |
Namespace: Microsoft.IoT.Devices.Input
The Switch type exposes the following members.
Name | Description | |
---|---|---|
DebounceTimeout |
Gets or sets the amount of time in milliseconds that will be used to debounce the switch.
| |
IsOn |
Gets a value that indicates if the switch is on.
| |
OnValue |
Gets or sets the GpioPinValue that indicates the switch is on.
| |
Pin |
Gets or sets the pin that the switch is connected to.
| |
UsePullResistors |
Gets or sets a value that indicates if integrated pull up or pull
down resistors should be used to help maintain the state of the pin.
|
Name | Description | |
---|---|---|
Close | ||
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |