NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
byte ButtonState ( const byte  btn)
inline

Get button state.

Return the state of the specified button. See ButtonState constants.

Parameters
btnThe button to check. See Button name constants.
Returns
The button state.
Examples:
ex_ButtonState.nxc.