Libraries \ Button

Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.

Class

Button

Name

pullup()

Description Prepare logic for a pullup button. If mode is internal set pin HIGH as default.
Syntax
pullup(buttonMode)
Parameters
buttonMode Indicates BUTTON_PULLUP, BUTTON_PULLUP_INTERNAL or BUTTON_PULLDOWN resistor
Returns None
Usage Application
Updated on July 07, 2011 11:09:41pm PDT

Creative Commons License