beautypg.com

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

Page 158

background image

APPENDIX

• CLICK 500 DEVELOPER GUIDE

157

ClickMenuAddTask

Create a new menu choice as an operating task. The menu is entered by holding the button

for more than 1½ seconds.

˽

LIBRARY – click500menu.lib

˽

SYNTAX –

void ClickMenuAddTask( void (*task)(), ClickLedId led,
int ChoicesIn1, int ChoicesIn2);

˽

PARAMETER1 – Once chosen in the menu (hold button to enter) the task function is

called once and then the previously running operating mode is returned to.

˽

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 ClickMenuAddMode