diff --git a/Gaugecontroller/Gaugecontroller.ino b/Gaugecontroller/Gaugecontroller.ino index 4a24497..bc21c94 100644 --- a/Gaugecontroller/Gaugecontroller.ino +++ b/Gaugecontroller/Gaugecontroller.ino @@ -11,7 +11,7 @@ static const uint8_t LED_DATA_PIN = 22; // For now: commands come over USB serial #define CMD_PORT Serial1 -#define DEBUG_PORT Serial +#define DEBUG_PORT Serial1 struct GaugePins { uint8_t dirPin; @@ -25,8 +25,8 @@ struct GaugePins { constexpr GaugePins gaugePins[GAUGE_COUNT] = { // dir, step, en, dirInv, stepHigh, enActiveLow, leds - {50, 51, -1, false, true, true, 6}, // Gauge 0 - {8, 9, -1, true, true, true, 6}, // Gauge 1 + {50, 51, -1, false, true, true, 7}, // Gauge 0 + {8, 9, -1, true, true, true, 7}, // Gauge 1 }; constexpr uint8_t sumLedCounts(uint8_t i = 0) { diff --git a/main.py b/main.py new file mode 100644 index 0000000..bcd3278 --- /dev/null +++ b/main.py @@ -0,0 +1 @@ +import gauge