11#include <soc/gpio_num.h>
18 static constexpr const char* TAG =
"Device::Buttons";
20 static constexpr gpio_num_t BUTTON_PRIMARY_PIN = GPIO_NUM_16;
21 static constexpr gpio_num_t BUTTON_SECONDARY_PIN = GPIO_NUM_17;
22 static constexpr uint32_t DEBOUNCE_US = 250'000;
25 bool primary_button_state;
26 bool secondary_button_state;
Class containing all the components of the robot.
Definition robot.h:24
Definition battery.cpp:14