diff --git a/Gaugecontroller/Gaugecontroller.ino b/Gaugecontroller/Gaugecontroller.ino index d46d43e..45bb28f 100644 --- a/Gaugecontroller/Gaugecontroller.ino +++ b/Gaugecontroller/Gaugecontroller.ino @@ -21,8 +21,8 @@ namespace vfd { constexpr uint8_t kDataPin = 46; constexpr uint8_t kClockPin = 47; -constexpr uint8_t kLatchPin = 48; -constexpr int8_t kBlankPin = 49; // Set to -1 if BL/OE is not connected +constexpr uint8_t kLatchPin = 44; +constexpr int8_t kBlankPin = 45; // Set to -1 if BL/OE is not connected constexpr bool kBlankActiveHigh = true; constexpr unsigned long kDigitHoldMicros = 2000; @@ -235,10 +235,10 @@ struct GaugePins { constexpr GaugePins gaugePins[GAUGE_COUNT] = { // dir, step, en, dirInv, stepHigh, enActiveLow, ledOrder - {50, 51, -1, false, true, true, "RRRGGRR"}, // Gauge 0 + {48, 49, -1, false, true, true, "RRRGGRR"}, // Gauge 0 {8, 9, -1, true, true, true, "GGGRRRR"}, // Gauge 1 {52, 53, -1, false, true, true, "GGGRRRR"}, // Gauge 2 - {48, 49, -1, false, true, true, "GGGRRRR"}, // Gauge 3 + {50, 51, -1, false, true, true, "GGGRRRR"}, // Gauge 3 }; constexpr uint8_t cstrLen(const char* s) {