Click or drag to resize
Switch Properties

The Switch type exposes the following members.

Properties
  NameDescription
Public propertyDebounceTimeout
Gets or sets the amount of time in milliseconds that will be used to debounce the switch.
Public propertyIsOn
Gets a value that indicates if the switch is on.
Public propertyOnValue
Gets or sets the GpioPinValue that indicates the switch is on.
Public propertyPin
Gets or sets the pin that the switch is connected to.
Public propertyUsePullResistors
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.
Top
See Also