This commit is contained in:
2026-04-26 23:26:00 +02:00
parent 15257ae6f2
commit 016de2ccb4

View File

@@ -3,7 +3,7 @@
#include <math.h>
#include <FastLED.h>
static const uint8_t GAUGE_COUNT = 3;
static const uint8_t GAUGE_COUNT = 4;
// One shared WS2812B strip, split into per-gauge segments.
static const uint8_t LED_DATA_PIN = 22;
@@ -234,6 +234,7 @@ constexpr GaugePins gaugePins[GAUGE_COUNT] = {
{50, 51, -1, false, true, true, 7}, // Gauge 0
{8, 9, -1, true, true, true, 7}, // Gauge 1
{52, 53, -1, false, true, true, 7}, // Gauge 2
{48, 49, -1, false, true, true, 7}, // Gauge 3
};
constexpr uint8_t sumLedCounts(uint8_t i = 0) {