Clickmenuaddmode – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual
Page 157
156
APPENDIX • CLICK 500 DEVELOPER GUIDE
ClickMenuAddMode
Create a new menu choice as an operating mode. The menu is entered by holding the push-
button for more than 1½ seconds.
˽
LIBRARY – click500menu.lib
˽
SYNTAX –
void ClickMenuAddMode( void (*oper)(), void (*setup)(),
ClickLedId led, int ChoicesIn1,
int ChoicesIn2);
˽
PARAMETER1&2 – Once chosen in the menu (hold button to enter) the setup function
is called once and then the operation function is called continuously after that.
˽
PARAMETER3 – When “led” is chosen in menu then setup and operating functions
get called.
˽
PARAMETER4 – The number of available sub selections on the RED bank of LEDs
˽
PARAMETER5 – The number of available sub selections on the YELLOW bank of
LEDs
˽
SEE ALSO – ClickMenuSelection1 ClickMenuStart ClickMenuAddTask