beautypg.com

Clickledholdwithdelay – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual

Page 153

background image

152

APPENDIX • CLICK 500 DEVELOPER GUIDE

ClickLedHoldWithDelay

Will hold an LED on for the given time, after a specified delay.

˽

LIBRARY – click500led.LIB

˽

SYNTAX –

int ClickLedHoldWithDelay( ClickLedId id, int timeDelay,
int offsestTime );

˽

PARAMETER1 – The LED to be changed. Valid options:: YELLOW1, YELLOW2, YEL-

LOW3, YELLOW4 RED1, RED2, RED3, RED4 or ALL, ALLRED, ALLYELLOW

˽

PARAMETER2 – The time in milliseconds to leave the LED on for.

˽

PARAMETER3 – The delay time in milliseconds.

˽

RETURN VALUE – 0 - LED changed correctly/1 - Invalid arguments

˽

SEE ALSO – ClickLedOn ClickLedOff ClickLedflash ClickLedHold