обновлены пины под pcb
This commit is contained in:
@@ -15,8 +15,10 @@ constexpr uint8_t GPIO_RX = 4;
|
||||
constexpr uint8_t GPIO_BUTTON_MODE = 0;
|
||||
constexpr uint8_t GPIO_BUTTON_START = 1;
|
||||
#else
|
||||
constexpr uint8_t GPIO_BUTTON_MODE = 1;
|
||||
constexpr uint8_t GPIO_BUTTON_START = 0;
|
||||
constexpr uint8_t GPIO_BUTTON_MODE = 20;
|
||||
constexpr uint8_t GPIO_BUTTON_START = 10;
|
||||
constexpr uint8_t GPIO_VBAT = 2;
|
||||
constexpr uint8_t GPIO_ANALOG_RX = 0;
|
||||
#endif
|
||||
constexpr uint8_t GPIO_SDA = 6;
|
||||
constexpr uint8_t GPIO_SCL = 7;
|
||||
@@ -34,10 +36,12 @@ constexpr uint8_t GPIO_SCL = 9;
|
||||
// contacts as on the C3 SuperMini. Signals therefore follow header position.
|
||||
constexpr uint8_t GPIO_PWM = 12;
|
||||
constexpr uint8_t GPIO_RX = 13;
|
||||
constexpr uint8_t GPIO_BUTTON_MODE = 10;
|
||||
constexpr uint8_t GPIO_BUTTON_START = 9;
|
||||
constexpr uint8_t GPIO_BUTTON_MODE = 5;
|
||||
constexpr uint8_t GPIO_BUTTON_START = 4;
|
||||
constexpr uint8_t GPIO_SDA = 44;
|
||||
constexpr uint8_t GPIO_SCL = 1;
|
||||
constexpr uint8_t GPIO_VBAT = 11;
|
||||
constexpr uint8_t GPIO_ANALOG_RX = 9;
|
||||
#endif
|
||||
#else
|
||||
#error "Only ESP32-C3 and ESP32-S3 are supported"
|
||||
|
||||
Reference in New Issue
Block a user