beautypg.com

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

Page 161

background image

160

APPENDIX • CLICK 500 DEVELOPER GUIDE

ClickMenuSetSelection1

Sets the current submenu one selection.

˽

LIBRARY – click500menu.lib

˽

SYNTAX –

void ClickMenuSetSelection1( int operModeLed, int selection );

˽

PARAMETER1 – The LED associated with the desired operation mode.

˽

PARAMETER2 – The menu sub choice. (1-8, limited by definition in “ClickMenuAd-

dMode”)

˽

EXAMPLE –

void myFunc()
{
ClickMenuSetSelection(GREEN, 2);
}

˽

SEE ALSO – ClickMenuAddMode ClickMenuSelection1