beautypg.com

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

Page 140

background image

APPENDIX

• CLICK 500 DEVELOPER GUIDE

139

ClickBtnNotPressed

Checks to see if the button has been pressed since the last time ClickBtnPressed or Click-

BtnNotpressed were called.

˽

LIBRARY – click500button.LIB

˽

SYNTAX –

int ClickBtnNotPressed( void );

˽

RETURN VALUE – 1 - button has not been pressed; 0 - button has been pressed.

˽

EXAMPLE –

void myFunc( void )
{
if (ClickBtnNotPressed())
{
doSomething();
}
}

˽

SEE ALSO – ClickBtnPressed