.longPress


DESCRIPTION
Change the value of what is consider to be a long press on a button. Default value is 3000 (3sec).

After pressing a button for more than 3sec and less then 6sec, the functions swTop,swBottom, and swRotary, will return 3.

That is a longPress.

Make sure the value of lcd.longPress is less then the value of lcd.longLongPress.


SYNTAX
lcd.longPress;


PARAMETERS
none.
Its not a function. Its a variable.So you set and get/set a value like any variable.
If you set lcd.longPress=5000;


RETURNS
none.
Its not a function. Its a variable.So you set and get/set a value like any variable.
If you set lcd.longPress=5000;


EXAMPLE


SEE ALSO
  • .longLongPress