beautypg.com

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

Page 152

background image

APPENDIX

• CLICK 500 DEVELOPER GUIDE

151

ClickLedHold

Turns the given LED on for a certain amount of time.

˽

LIBRARY – click500led.LIB

˽

SYNTAX –

int ClickLedHold( ClickLedId id, int timeDelay );

˽

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.

˽

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

˽

SEE ALSO – ClickLedOn ClickLedOff ClickLedflash