Updated configuration to fit final PCB wiring.

This commit is contained in:
jpunkt 2022-01-18 18:10:51 +01:00
parent 3d8f614906
commit 86e79a6950
2 changed files with 6 additions and 6 deletions

View File

@ -39,17 +39,17 @@
#define LED_COUNT_FRONT 26
#define LED_BACK 14
#define LED_COUNT_BACK 72
#define LED_COUNT_BACK 120
// Buttons
#define BTN_LED_BLUE 21
#define BTN_BLUE 20
#define BTN_LED_RED 17
#define BTN_RED 16
#define BTN_LED_GREEN 23
#define BTN_GREEN 22
#define BTN_LED_YELLOW 19
#define BTN_YELLOW 18
#define BTN_LED_YELLOW 23
#define BTN_YELLOW 22
#define BTN_LED_GREEN 19
#define BTN_GREEN 18
// NC (Blink-Sink)
#define NC_PIN 11

View File

@ -20,7 +20,7 @@ State* SER = sm.addState(&state_error);
/*-------- Variables --------*/
// Convenience array of all UI LEDs
const int UI_LED_PINS[] = {LED_BUILTIN, BTN_LED_BLUE, BTN_LED_RED, BTN_LED_YELLOW, BTN_LED_GREEN};
const int UI_LED_PINS[] = {LED_BUILTIN, BTN_LED_BLUE, BTN_LED_RED, BTN_LED_GREEN, BTN_LED_YELLOW};
#define N_LEDS (sizeof(UI_LED_PINS) / sizeof(UI_LED_PINS[0]))
// Heartbeat blinker timer