diff --git a/wled00/NpbWrapper.h b/wled00/NpbWrapper.h index 794f7ceb..c33c869c 100644 --- a/wled00/NpbWrapper.h +++ b/wled00/NpbWrapper.h @@ -2,7 +2,7 @@ #ifndef NpbWrapper_h #define NpbWrapper_h -//#define WORKAROUND_ESP32_BITBANG +#define WORKAROUND_ESP32_BITBANG //see https://github.com/Aircoookie/WLED/issues/2 for flicker free ESP32 support //PIN CONFIGURATION diff --git a/wled00/WS2812FX.cpp b/wled00/WS2812FX.cpp index 7a2314fd..60b90b9b 100644 --- a/wled00/WS2812FX.cpp +++ b/wled00/WS2812FX.cpp @@ -2207,7 +2207,7 @@ void WS2812FX::handle_palette(void) _segment_index_palette_last = _segment_index; byte paletteIndex = SEGMENT.palette; - if (SEGMENT.mode == FX_MODE_METEOR && SEGMENT.palette == 0) paletteIndex = 4; + if ((SEGMENT.mode >= FX_MODE_METEOR) && SEGMENT.palette == 0) paletteIndex = 4; switch (paletteIndex) { @@ -2652,6 +2652,7 @@ uint16_t WS2812FX::mode_meteor() { return SPEED_FORMULA_L; } + //smooth //front ramping (maybe from get color //50fps @@ -2659,7 +2660,6 @@ uint16_t WS2812FX::mode_meteor() { //maybe dim to color[1] at end? //_locked 0-15 bg-last 15-240 last-first 240-255 first-bg - #define IS_PART_OF_METEOR 245 // smooth meteor effect // send a meteor from begining to to the end of the strip with a trail that randomly decays. @@ -2668,7 +2668,7 @@ uint16_t WS2812FX::mode_meteor_smooth() { byte meteorSize= 1+ SEGMENT_LENGTH / 10; uint16_t in = map((SEGMENT_RUNTIME.counter_mode_step >> 6 & 0xFF), 0, 255, SEGMENT.start, SEGMENT.stop); - byte decayProb = SEGMENT.intensity; + byte decayProb = 255 - SEGMENT.intensity; // fade all leds to colors[1] in LEDs one step for (uint16_t i = SEGMENT.start; i <= SEGMENT.stop; i++) { diff --git a/wled00/data/index.htm b/wled00/data/index.htm index b40d90af..68ecbee7 100644 --- a/wled00/data/index.htm +++ b/wled00/data/index.htm @@ -204,10 +204,10 @@ function SwFX(s) { var n=Cf.TX.selectedIndex+s; - if (n==-1||n==77) return; + if (n==-1||n==79) return; Cf.TX.selectedIndex =n; if (n < 0) Cf.TX.selectedIndex = 0; - if (n > 76) Cf.TX.selectedIndex = 65; + if (n > 78) Cf.TX.selectedIndex = 65; GX(); } function TgHSB() @@ -674,6 +674,8 @@ + +

Set secondary color to @@ -746,14 +748,14 @@


- Click checkmark to apply brightness, color and effects.

+ Click checkmark to apply color, effects and brightness.

Cycle through presets to , keep each for ms:


Timed Light



- Gradually dim down
+ Gradually dim down
1st slider sets duration (1-255min), 2nd sets target brightness.
diff --git a/wled00/data/index_mobile.htm b/wled00/data/index_mobile.htm index 091d5666..972fbda5 100644 --- a/wled00/data/index_mobile.htm +++ b/wled00/data/index_mobile.htm @@ -7,7 +7,7 @@ - WLED 0.8.1 + WLED 0.8.2 diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 2a48dd97..a83552d4 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -34,7 +34,7 @@ body{text-align:center;background:var(--cCol);height:100%;margin:0;background-at //wifi settings const char PAGE_settings_wifi0[] PROGMEM = R"=====( - + WiFi Settings