MCPcopy Create free account
hub / github.com/WiringProject/Wiring / Button

Method Button

framework/libraries/Button/Button.cpp:41–72  ·  view source on GitHub ↗

|| @constructor || | Set the initial state of this button || # || || @parameter buttonPin sets the pin that this switch is connected to || @parameter buttonMode indicates BUTTON_PULLUP or BUTTON_PULLDOWN resistor */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

pinModeFunction · 0.85
pullupFunction · 0.85

Tested by

no test coverage detected