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

heldFor()

Description Polling model for holding, this is true every check after hold time. Check to see if the button has been pressed for time milliseconds.
Syntax
heldFor(time)
Parameters
time unsigned int: Time in milliseconds
Returns Boolean
Usage Application
Updated on July 07, 2011 11:09:39pm PDT

Creative Commons License