Added method.

This commit is contained in:
Andrew Lalis 2022-12-02 19:50:54 +01:00
parent d561b73feb
commit 24981c493e
1 changed files with 6 additions and 0 deletions

View File

@ -36,4 +36,10 @@ extern volatile uint8_t CTL_INPUT_FLAGS;
*/ */
void ctl_init(); void ctl_init();
/**
* @brief Determines if button A has been pressed.
* @return uint8_t 1 if pressed, 0 otherwise.
*/
uint8_t ctl_isButtonAPressed();
#endif #endif