11#include <soc/gpio_num.h>
19 static constexpr const char* TAG =
"Device::Buttons";
22 static constexpr gpio_num_t BUTTON_PRIMARY_PIN = GPIO_NUM_16;
23 static constexpr gpio_num_t BUTTON_SECONDARY_PIN = GPIO_NUM_17;
24 static constexpr uint32_t DEBOUNCE_US = 250'000;
27 bool primary_button_state;
28 bool secondary_button_state;
Class containing all the components of the robot.
Definition robot.h:32
log_source
Definition log_sources.h:12
@ LOG_SOURCE_DEVICE_BUTTONS
Definition log_sources.h:22
Definition battery.cpp:14