Logic_library
Library for Logic board by RoboticsBrno.
Loading...
Searching...
No Matches
Namespaces | Enumerations | Variables
1_1.hpp File Reference
#include <array>
#include <driver/gpio.h>

Go to the source code of this file.

Namespaces

namespace  Platform
 
namespace  Platform::Pins
 
namespace  Platform::Pins::Corners
 
namespace  Platform::Pins::Arrows
 

Enumerations

enum  ButtonID {
  Enter = 0 , Up , Down , Left ,
  Right , LeftUp , LeftDown , RightUp ,
  RightDown , MaxID , Enter = 0 , Up ,
  Down , Left , Right , LeftUp ,
  LeftDown , RightUp , RightDown , MaxID ,
  L_Enter = 0 , L_Up , L_Down , L_Left ,
  L_Right , R_Enter , R_Up , R_Down ,
  R_Left , R_Right , MaxID , Enter = 0 ,
  Up = 1 , Down = 2 , Left = 3 , Right = 4
}
 

Variables

static constexpr bool Platform::AdjustableBuzzer = false
 
static constexpr bool Platform::LedPowerOnLevel = 1
 
static constexpr gpio_num_t Platform::Pins::Corners::LeftUp = GPIO_NUM_18
 
static constexpr gpio_num_t Platform::Pins::Corners::LeftDown = GPIO_NUM_4
 
static constexpr gpio_num_t Platform::Pins::Corners::RightUp = GPIO_NUM_19
 
static constexpr gpio_num_t Platform::Pins::Corners::RightDown = GPIO_NUM_25
 
static constexpr gpio_num_t Platform::Pins::Arrows::Up = GPIO_NUM_14
 
static constexpr gpio_num_t Platform::Pins::Arrows::Down = GPIO_NUM_26
 
static constexpr gpio_num_t Platform::Pins::Arrows::Left = GPIO_NUM_32
 
static constexpr gpio_num_t Platform::Pins::Arrows::Right = GPIO_NUM_13
 
static constexpr gpio_num_t Platform::Pins::Arrows::Enter = GPIO_NUM_17
 
static constexpr gpio_num_t Platform::Pins::Display = GPIO_NUM_23
 
static constexpr gpio_num_t Platform::Pins::Status = GPIO_NUM_21
 
static constexpr gpio_num_t Platform::Pins::Buzzer = GPIO_NUM_27
 
static constexpr gpio_num_t Platform::Pins::LedPower = GPIO_NUM_16
 
static constexpr std::array< gpio_num_t, MaxIDPlatform::Pins::Buttons
 

Enumeration Type Documentation

◆ ButtonID

enum ButtonID
Enumerator
Enter 
Up 
Down 
Left 
Right 
LeftUp 
LeftDown 
RightUp 
RightDown 
MaxID 
Enter 
Up 
Down 
Left 
Right 
LeftUp 
LeftDown 
RightUp 
RightDown 
MaxID 
L_Enter 
L_Up 
L_Down 
L_Left 
L_Right 
R_Enter 
R_Up 
R_Down 
R_Left 
R_Right 
MaxID 
Enter 
Up 
Down 
Left 
Right