фиксы до работы с перемычкой вместо оптики
This commit is contained in:
@@ -26,6 +26,9 @@ constexpr uint8_t GPIO_SCL = 9;
|
||||
constexpr uint8_t OLED_ADDRESS = 0x3C;
|
||||
constexpr uint8_t ESPNOW_WIFI_CHANNEL = 6;
|
||||
constexpr uint32_t SERIAL_BAUD = 115200;
|
||||
constexpr bool SERIAL_ACTION_LOG = true;
|
||||
constexpr bool SERIAL_LOG_TIMESTAMPS = true;
|
||||
constexpr bool SERIAL_MINIMAL_LOG = true;
|
||||
|
||||
#define BUTTON_ACTIVE_LEVEL LOW
|
||||
#define RX_SIGNAL_INVERTED false
|
||||
@@ -43,11 +46,17 @@ constexpr uint32_t LINK_REPLY_TIMEOUT_MS = 800;
|
||||
constexpr uint8_t LINK_PACKET_RETRIES = 3;
|
||||
constexpr uint32_t LINK_RETRY_INTERVAL_MS = 100;
|
||||
constexpr uint8_t NO_SIGNAL_TIMEOUT_PERIODS = 8;
|
||||
constexpr uint16_t RMT_MIN_RECEIVE_SYMBOLS = 48;
|
||||
constexpr uint16_t RMT_MAX_RECEIVE_SYMBOLS = 512;
|
||||
constexpr uint32_t RMT_TARGET_CHUNK_US = 5000;
|
||||
|
||||
constexpr uint32_t C3_STRICT_MAX_HZ = 100000;
|
||||
constexpr uint32_t C3_STRICT_MAX_HZ = 1000000;
|
||||
constexpr uint32_t S3_STRICT_MAX_HZ = 1000000;
|
||||
constexpr uint32_t C3_GUARANTEED_HZ = 10000;
|
||||
constexpr uint32_t CAPTURE_RESOLUTION_HZ = 80000000;
|
||||
// Arduino-ESP32 uses the 40 MHz crystal as the default LEDC clock on C3/S3.
|
||||
// Keep this explicit so the resolution calculation never asks LEDC for an
|
||||
// impossible frequency/resolution combination.
|
||||
constexpr uint32_t LEDC_SOURCE_CLOCK_HZ = 40000000;
|
||||
constexpr uint8_t LEDC_CHANNEL = 0;
|
||||
constexpr uint8_t LEDC_MAX_BITS = 14;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user