Skip to main content

Module button

Module button 

Source
Expand description

Platform-independent button types and constants.

See the platform-specific crate (for example device_envoy_rp::button or device_envoy_esp::button) for the primary documentation and examples.

Enums§

PressDuration
Duration of a button press (short or long).
PressedTo
Describes if the button connects to voltage or ground when pressed.

Traits§

Button
Platform-agnostic button contract.