Logic_library
Library for Logic board by RoboticsBrno.
Loading...
Searching...
No Matches
Namespaces | Enumerations | Variables
2_0.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::LeftArrows
 
namespace  Platform::Pins::RightArrows
 

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 = true
 
static constexpr bool Platform::LedPowerOnLevel = 1
 
static constexpr gpio_num_t Platform::Pins::LeftArrows::Up = GPIO_NUM_47
 
static constexpr gpio_num_t Platform::Pins::LeftArrows::Down = GPIO_NUM_7
 
static constexpr gpio_num_t Platform::Pins::LeftArrows::Left = GPIO_NUM_1
 
static constexpr gpio_num_t Platform::Pins::LeftArrows::Right = GPIO_NUM_6
 
static constexpr gpio_num_t Platform::Pins::LeftArrows::Enter = GPIO_NUM_5
 
static constexpr gpio_num_t Platform::Pins::RightArrows::Up = GPIO_NUM_8
 
static constexpr gpio_num_t Platform::Pins::RightArrows::Down = GPIO_NUM_14
 
static constexpr gpio_num_t Platform::Pins::RightArrows::Left = GPIO_NUM_10
 
static constexpr gpio_num_t Platform::Pins::RightArrows::Right = GPIO_NUM_4
 
static constexpr gpio_num_t Platform::Pins::RightArrows::Enter = GPIO_NUM_9
 
static constexpr gpio_num_t Platform::Pins::Display = GPIO_NUM_45
 
static constexpr gpio_num_t Platform::Pins::Status = GPIO_NUM_46
 
static constexpr gpio_num_t Platform::Pins::Buzzer = GPIO_NUM_21
 
static constexpr gpio_num_t Platform::Pins::LedPower = GPIO_NUM_0
 
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