fixing some spacing
This commit is contained in:
parent
4729bce16c
commit
37da53c20e
10
wled00/FX.h
10
wled00/FX.h
@ -172,8 +172,8 @@
|
|||||||
#define FX_MODE_HALLOWEEN_EYES 82
|
#define FX_MODE_HALLOWEEN_EYES 82
|
||||||
#define FX_MODE_STATIC_PATTERN 83
|
#define FX_MODE_STATIC_PATTERN 83
|
||||||
#define FX_MODE_TRI_STATIC_PATTERN 84
|
#define FX_MODE_TRI_STATIC_PATTERN 84
|
||||||
#define FX_MODE_POLICE 85
|
#define FX_MODE_POLICE 85
|
||||||
#define FX_MODE_POLICE_ALL 86
|
#define FX_MODE_POLICE_ALL 86
|
||||||
|
|
||||||
|
|
||||||
class WS2812FX {
|
class WS2812FX {
|
||||||
@ -313,9 +313,9 @@ class WS2812FX {
|
|||||||
_mode[FX_MODE_TWINKLECAT] = &WS2812FX::mode_twinklecat;
|
_mode[FX_MODE_TWINKLECAT] = &WS2812FX::mode_twinklecat;
|
||||||
_mode[FX_MODE_HALLOWEEN_EYES] = &WS2812FX::mode_halloween_eyes;
|
_mode[FX_MODE_HALLOWEEN_EYES] = &WS2812FX::mode_halloween_eyes;
|
||||||
_mode[FX_MODE_STATIC_PATTERN] = &WS2812FX::mode_static_pattern;
|
_mode[FX_MODE_STATIC_PATTERN] = &WS2812FX::mode_static_pattern;
|
||||||
_mode[FX_MODE_TRI_STATIC_PATTERN] = &WS2812FX::mode_tri_static_pattern;
|
_mode[FX_MODE_TRI_STATIC_PATTERN] = &WS2812FX::mode_tri_static_pattern;
|
||||||
_mode[FX_MODE_POLICE] = &WS2812FX::mode_police;
|
_mode[FX_MODE_POLICE] = &WS2812FX::mode_police;
|
||||||
_mode[FX_MODE_POLICE_ALL] = &WS2812FX::mode_policeall;
|
_mode[FX_MODE_POLICE_ALL] = &WS2812FX::mode_policeall;
|
||||||
|
|
||||||
_brightness = DEFAULT_BRIGHTNESS;
|
_brightness = DEFAULT_BRIGHTNESS;
|
||||||
currentPalette = CRGBPalette16(CRGB::Black);
|
currentPalette = CRGBPalette16(CRGB::Black);
|
||||||
|
@ -155,7 +155,7 @@ uint16_t transitionDelay = 750; //default crossfade duration in ms
|
|||||||
|
|
||||||
//bool strip.reverseMode = false; //flip entire LED strip (reverses all effect directions) --> edit in WS2812FX.h
|
//bool strip.reverseMode = false; //flip entire LED strip (reverses all effect directions) --> edit in WS2812FX.h
|
||||||
bool skipFirstLed = false; //ignore first LED in strip (useful if you need the LED as signal repeater)
|
bool skipFirstLed = false; //ignore first LED in strip (useful if you need the LED as signal repeater)
|
||||||
uint8_t disableNLeds = 0; //disables N LEDs between active nodes. (Useful for spacing out lights for more traditional christmas light look)
|
uint8_t disableNLeds = 0; //disables N LEDs between active nodes. (Useful for spacing out lights for more traditional christmas light look)
|
||||||
byte briMultiplier = 100; //% of brightness to set (to limit power, if you set it to 50 and set bri to 255, actual brightness will be 127)
|
byte briMultiplier = 100; //% of brightness to set (to limit power, if you set it to 50 and set bri to 255, actual brightness will be 127)
|
||||||
|
|
||||||
|
|
||||||
|
@ -120,9 +120,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
|
|||||||
if (t >= 0 && t < 4) strip.paletteBlend = t;
|
if (t >= 0 && t < 4) strip.paletteBlend = t;
|
||||||
strip.reverseMode = request->hasArg("RV");
|
strip.reverseMode = request->hasArg("RV");
|
||||||
skipFirstLed = request->hasArg("SL");
|
skipFirstLed = request->hasArg("SL");
|
||||||
|
|
||||||
disableNLeds = request->arg("DL").toInt();
|
disableNLeds = request->arg("DL").toInt();
|
||||||
|
|
||||||
t = request->arg("BF").toInt();
|
t = request->arg("BF").toInt();
|
||||||
if (t > 0) briMultiplier = t;
|
if (t > 0) briMultiplier = t;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user