Pins changed

This commit is contained in:
2026-05-02 13:19:01 +02:00
parent 8bdae1da9b
commit e63867ba5e

View File

@@ -21,8 +21,8 @@ namespace vfd {
constexpr uint8_t kDataPin = 46; constexpr uint8_t kDataPin = 46;
constexpr uint8_t kClockPin = 47; constexpr uint8_t kClockPin = 47;
constexpr uint8_t kLatchPin = 48; constexpr uint8_t kLatchPin = 44;
constexpr int8_t kBlankPin = 49; // Set to -1 if BL/OE is not connected constexpr int8_t kBlankPin = 45; // Set to -1 if BL/OE is not connected
constexpr bool kBlankActiveHigh = true; constexpr bool kBlankActiveHigh = true;
constexpr unsigned long kDigitHoldMicros = 2000; constexpr unsigned long kDigitHoldMicros = 2000;
@@ -235,10 +235,10 @@ struct GaugePins {
constexpr GaugePins gaugePins[GAUGE_COUNT] = { constexpr GaugePins gaugePins[GAUGE_COUNT] = {
// dir, step, en, dirInv, stepHigh, enActiveLow, ledOrder // 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 {8, 9, -1, true, true, true, "GGGRRRR"}, // Gauge 1
{52, 53, -1, false, true, true, "GGGRRRR"}, // Gauge 2 {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) { constexpr uint8_t cstrLen(const char* s) {