Core2 for AWS IoT EduKit BSP
1.5.1
Button (virtual)
Button_WasPressed
uint8_t
Button_WasPressed
(
Button_t
* button);
Button_WasPressed
uint8_t Button_WasPressed(Button_t *button)
See if the specified button was pressed.
Definition:
button.c:43
Button_t
The member defintions of the virtual button data.
Definition:
button.h:28
See if the specified button was pressed.
Parameters
[out]
button
The button to check if it was pressed. Updates the value of the state definition.
Returns
A boolean if the button specified was pressed. 0x00 for not pressed, 0xff for pressed.
Generated by
1.9.3