add default colors for players
Signed-off-by: dragonchaser <christian@boltares.de>
This commit is contained in:
@@ -31,11 +31,11 @@ void Vibrate();
|
|||||||
|
|
||||||
// LED configuration
|
// LED configuration
|
||||||
#define LED_TYPE WS2812B
|
#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_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_BRIGHTNESS_DIMM 16
|
||||||
#define LED_FRAMES_PER_SECOND 24
|
#define LED_FRAMES_PER_SECOND 24
|
||||||
#define LED_SETUP_DISPLAY_DELAY 500
|
#define LED_SETUP_DISPLAY_DELAY 500
|
||||||
@@ -65,6 +65,9 @@ void Vibrate();
|
|||||||
// CONSTS
|
// CONSTS
|
||||||
static const PROGMEM std::map<String, String> overrideColors = {
|
static const PROGMEM std::map<String, String> overrideColors = {
|
||||||
{"36E898", "FF0000"}, // MiiBand Klaas
|
{"36E898", "FF0000"}, // MiiBand Klaas
|
||||||
|
{"000000", "33FFA7"}, // Dat Swantje
|
||||||
|
{"000000", "0008FF"}, // Dem Hein
|
||||||
|
{"000000", "87FF2A"}, // Dat Noshka
|
||||||
};
|
};
|
||||||
|
|
||||||
static const PROGMEM std::map<String, void*> blackList = {
|
static const PROGMEM std::map<String, void*> blackList = {
|
||||||
@@ -76,7 +79,7 @@ static const PROGMEM std::map<String, void*> blackList = {
|
|||||||
#define DEVICE_TYPE_PRIVATE_LAMP 3
|
#define DEVICE_TYPE_PRIVATE_LAMP 3
|
||||||
#define DEVICE_TYPE_AMULETT 4
|
#define DEVICE_TYPE_AMULETT 4
|
||||||
|
|
||||||
#define DEVICE_TYPE DEVICE_TYPE_AMULETT
|
#define DEVICE_TYPE DEVICE_TYPE_PUBLIC_LAMP_WITH_DEFAULT_COLOR
|
||||||
|
|
||||||
#ifndef DEVICE_TYPE
|
#ifndef DEVICE_TYPE
|
||||||
// WE DO NOT HAVE A DEVICETYPE, so we do not have any variables here
|
// WE DO NOT HAVE A DEVICETYPE, so we do not have any variables here
|
||||||
|
|||||||
Reference in New Issue
Block a user