From 55f57d8398792bbe5574f375274c39fdf85713c9 Mon Sep 17 00:00:00 2001 From: dragonchaser Date: Mon, 21 Jul 2025 11:54:47 +0200 Subject: [PATCH] add default colors for players Signed-off-by: dragonchaser --- btcontrol.ino | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/btcontrol.ino b/btcontrol.ino index 342a702..4e3276d 100644 --- a/btcontrol.ino +++ b/btcontrol.ino @@ -31,11 +31,11 @@ void Vibrate(); // LED configuration #define LED_TYPE WS2812B -#define LED_DATA_PIN 21 // use 1 for GPIO 1 and 21 for builtin +#define LED_DATA_PIN 1 // use 1 for GPIO 1 and 21 for builtin #define LED_NUM_LEDS 7 // use 1 for builtin and whatever your count is for extern -#define LED_COLOR_ORDER GRB // USE GRB for the onboard led and RGB for the chain +#define LED_COLOR_ORDER RGB // USE GRB for the onboard led and RGB for the chain -#define LED_BRIGHTNESS 96 +#define LED_BRIGHTNESS 64 #define LED_BRIGHTNESS_DIMM 16 #define LED_FRAMES_PER_SECOND 24 #define LED_SETUP_DISPLAY_DELAY 500 @@ -65,6 +65,9 @@ void Vibrate(); // CONSTS static const PROGMEM std::map overrideColors = { {"36E898", "FF0000"}, // MiiBand Klaas + {"000000", "33FFA7"}, // Dat Swantje + {"000000", "0008FF"}, // Dem Hein + {"000000", "87FF2A"}, // Dat Noshka }; static const PROGMEM std::map blackList = { @@ -76,7 +79,7 @@ static const PROGMEM std::map blackList = { #define DEVICE_TYPE_PRIVATE_LAMP 3 #define DEVICE_TYPE_AMULETT 4 -#define DEVICE_TYPE DEVICE_TYPE_AMULETT +#define DEVICE_TYPE DEVICE_TYPE_PUBLIC_LAMP_WITH_DEFAULT_COLOR #ifndef DEVICE_TYPE // WE DO NOT HAVE A DEVICETYPE, so we do not have any variables here