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
15
extern
"C"
{
16
#endif
17
28
esp_err_t
button_init
(
void
);
29
35
bool
button_is_pressed
(
void
);
36
37
#ifdef __cplusplus
38
}
39
#endif
button_is_pressed
bool button_is_pressed(void)
Checks if the button is currently physically pressed.
Definition
button_actions.c:163
button_init
esp_err_t button_init(void)
Initializes the hardware button configuration and event callbacks.
Definition
button_actions.c:120
components
button_actions
include
button_actions.h
Found an issue or bug?
Open an issue on GitHub