ContentsIndex
Example
pulseIn
#define BUTTON   13
unsigned long duration;
void setup()
{
    pinMode(BUTTON, INPUT);
}
void loop()
{
    duration = pulseIn(BUTTON, HIGH);
}