NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void SetButtonState ( const byte  btn,
const byte  state 
)
inline

Set button state.

Set the state of the specified button.

Parameters
btnThe button to check. See Button name constants.
stateThe new button state. See ButtonState constants.
Examples:
ex_SetButtonState.nxc.