Got the refactor building
This commit is contained in:
@@ -5,45 +5,47 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
// Stack pins
|
||||
// Stack 1 pins
|
||||
#define STACK1_ADC_PIN 6
|
||||
#define STACK1_LED_PIN 11
|
||||
static constexpr uint8_t STACK1_ADC_PIN{6};
|
||||
static constexpr uint8_t STACK1_LED_PIN{11};
|
||||
|
||||
// Stack 2 pins
|
||||
#define STACK2_ADC_PIN 16
|
||||
#define STACK2_LED_PIN 14
|
||||
static constexpr uint8_t STACK2_ADC_PIN{16};
|
||||
static constexpr uint8_t STACK2_LED_PIN{14};
|
||||
|
||||
// Stack 3 pins
|
||||
#define STACK3_ADC_PIN 8
|
||||
#define STACK3_LED_PIN 45
|
||||
static constexpr uint8_t STACK3_ADC_PIN{8};
|
||||
static constexpr uint8_t STACK3_LED_PIN{45};
|
||||
|
||||
// Stack 4 pins
|
||||
#define STACK4_ADC_PIN 5
|
||||
#define STACK4_LED_PIN 10
|
||||
static constexpr uint8_t STACK4_ADC_PIN{5};
|
||||
static constexpr uint8_t STACK4_LED_PIN{10};
|
||||
|
||||
// Stack 5 pins
|
||||
#define STACK5_ADC_PIN 15
|
||||
#define STACK5_LED_PIN 13
|
||||
static constexpr uint8_t STACK5_ADC_PIN{15};
|
||||
static constexpr uint8_t STACK5_LED_PIN{13};
|
||||
|
||||
// Stack 6 pins
|
||||
#define STACK6_ADC_PIN 18
|
||||
#define STACK6_LED_PIN 38
|
||||
static constexpr uint8_t STACK6_ADC_PIN{18};
|
||||
static constexpr uint8_t STACK6_LED_PIN{38};
|
||||
|
||||
// Stack 7 pins
|
||||
#define STACK7_ADC_PIN 4
|
||||
#define STACK7_LED_PIN 9
|
||||
static constexpr uint8_t STACK7_ADC_PIN{4};
|
||||
static constexpr uint8_t STACK7_LED_PIN{9};
|
||||
|
||||
// Stack 8 pins
|
||||
#define STACK8_ADC_PIN 7
|
||||
#define STACK8_LED_PIN 12
|
||||
static constexpr uint8_t STACK8_ADC_PIN{7};
|
||||
static constexpr uint8_t STACK8_LED_PIN{12};
|
||||
|
||||
|
||||
// Stack 9 pins
|
||||
#define STACK9_ADC_PIN 17
|
||||
#define STACK9_LED_PIN 37
|
||||
static constexpr uint8_t STACK9_ADC_PIN{17};
|
||||
static constexpr uint8_t STACK9_LED_PIN{37};
|
||||
|
||||
// Bluetooth module configuration pins
|
||||
#define BT_STATE_PIN 2
|
||||
#define BT_EN_PIN 3
|
||||
static constexpr uint8_t BT_STATE_PIN{2};
|
||||
static constexpr uint8_t BT_EN_PIN{3};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user