RBControl
Library for the RB3201-RBControl board with the ESP32 by RoboticsBrno.
Namespaces | Enumerations | Functions | Variables
RBControl_pinout.hpp File Reference
#include <driver/adc.h>
#include <driver/gpio.h>

Go to the source code of this file.

Namespaces

 rb
 The base namespace. Contains some logging functions, too.
 

Enumerations

enum class  rb::MotorId : uint8_t {
  rb::M1 , rb::M2 , rb::M3 , rb::M4 ,
  rb::M5 , rb::M6 , rb::M7 , rb::M8 ,
  rb::MAX
}
 

Functions

MotorId rb::operator++ (MotorId &x)
 

Variables

static const gpio_num_t rb::IO0 = GPIO_NUM_0
 
static const gpio_num_t rb::IO2 = GPIO_NUM_2
 
static const gpio_num_t rb::IO12 = GPIO_NUM_12
 
static const gpio_num_t rb::IO4 = GPIO_NUM_4
 
static const gpio_num_t rb::IO5 = GPIO_NUM_5
 
static const gpio_num_t rb::IO13 = GPIO_NUM_13
 
static const gpio_num_t rb::IO14 = GPIO_NUM_14
 
static const gpio_num_t rb::IO15 = GPIO_NUM_15
 
static const gpio_num_t rb::IO16 = GPIO_NUM_16
 
static const gpio_num_t rb::IO17 = GPIO_NUM_17
 
static const gpio_num_t rb::IO18 = GPIO_NUM_18
 
static const gpio_num_t rb::IO19 = GPIO_NUM_19
 
static const gpio_num_t rb::IO21 = GPIO_NUM_21
 
static const gpio_num_t rb::IO25 = GPIO_NUM_25
 
static const gpio_num_t rb::IO26 = GPIO_NUM_26
 
static const gpio_num_t rb::IO27 = GPIO_NUM_27
 
static const gpio_num_t rb::IO32 = GPIO_NUM_32
 
static const gpio_num_t rb::IO33 = GPIO_NUM_33
 
static const gpio_num_t rb::IO34 = GPIO_NUM_34
 
static const gpio_num_t rb::IO35 = GPIO_NUM_35
 
static const gpio_num_t rb::RCKMOT = IO0
 
static const gpio_num_t rb::SERMOT = IO2
 
static const gpio_num_t rb::SCKMOT = IO12
 
static const gpio_num_t rb::ENC1A = IO21
 
static const gpio_num_t rb::ENC1B = IO19
 
static const gpio_num_t rb::ENC2A = IO18
 
static const gpio_num_t rb::ENC2B = IO5
 
static const gpio_num_t rb::ENC3A = IO17
 
static const gpio_num_t rb::ENC3B = IO16
 
static const gpio_num_t rb::ENC4A = IO15
 
static const gpio_num_t rb::ENC4B = IO13
 
static const gpio_num_t rb::ENC5A = IO4
 
static const gpio_num_t rb::ENC5B = IO15
 
static const gpio_num_t rb::ENC6A = IO27
 
static const gpio_num_t rb::ENC6B = IO26
 
static const gpio_num_t rb::ENC7A = IO25
 
static const gpio_num_t rb::ENC7B = IO33
 
static const gpio_num_t rb::ENC8A = IO32
 
static const gpio_num_t rb::ENC8B = IO35
 
static const gpio_num_t rb::POWER_OFF = IO32
 
static const gpio_num_t rb::BATT_REF = IO34
 
static const adc_unit_t rb::BATT_ADC_UNIT = ADC_UNIT_1
 
static const adc1_channel_t rb::BATT_ADC_CHANNEL = ADC1_CHANNEL_6
 
static const gpio_num_t rb::PIEZO_A = ENC7A
 
static const gpio_num_t rb::PIEZO_B = ENC7B
 
static const gpio_num_t rb::I2C_MASTER_SDA = GPIO_NUM_23
 
static const gpio_num_t rb::I2C_MASTER_SCL = GPIO_NUM_22
 
static const int rb::I2C_ADDR_EXPANDER = 0x20 | 0x01
 
static const int rb::EA0 = 0
 
static const int rb::EA1 = 1
 
static const int rb::EA2 = 2
 
static const int rb::EA3 = 3
 
static const int rb::EA4 = 4
 
static const int rb::EA5 = 5
 
static const int rb::EA6 = 6
 
static const int rb::EA7 = 7
 
static const int rb::EB0 = 8
 
static const int rb::EB1 = 9
 
static const int rb::EB2 = 10
 
static const int rb::EB3 = 11
 
static const int rb::EB4 = 12
 
static const int rb::EB5 = 13
 
static const int rb::EB6 = 14
 
static const int rb::EB7 = 15
 
static const int rb::SW1 = EB0
 
static const int rb::SW2 = EB1
 
static const int rb::SW3 = EB2
 
static const int rb::LED_RED = EB3
 
static const int rb::LED_YELLOW = EB4
 
static const int rb::LED_GREEN = EB5
 
static const int rb::LED_BLUE = EB6
 
static const int rb::EXPANDER_BOARD_POWER_ON = EB7