Core2 for AWS IoT EduKit BSP 1.5.1
Button_WasReleased
uint8_t Button_WasReleased(Button_t* button);
uint8_t Button_WasReleased(Button_t *button)
See if the specified button press was released.
Definition: button.c:51
The member defintions of the virtual button data.
Definition: button.h:28

See if the specified button press was released.

Parameters
[out]buttonThe button to check if it was released. Updates the value of the state definition.
Returns
A boolean if the button specified was released. 0x00 for not released, 0xff for released.