ChaosDMX
Open-Source DMX-Interface
Loading...
Searching...
No Matches
button_actions.h
Go to the documentation of this file.
1
8
9#pragma once
10
11#include "esp_err.h"
12#include <stdbool.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
28esp_err_t button_init(void);
29
35bool button_is_pressed(void);
36
37#ifdef __cplusplus
38}
39#endif
bool button_is_pressed(void)
Checks if the button is currently physically pressed.
esp_err_t button_init(void)
Initializes the hardware button configuration and event callbacks.