Commit Graph

3366 Commits

Author SHA1 Message Date
tonyxforce
e5ca80c035 Bias value changes 2023-08-25 01:18:05 +02:00
tonyxforce
6a37f81465 Renamed the effect, biased the sliders, so it
looks best with all sliders in the middle,
added option to change the effect speed multiplier
2023-08-25 01:03:40 +02:00
tonyxforce
350e20544d Fixing effect speed issues 2023-08-25 00:04:05 +02:00
tonyxforce
859d340d22 Merge branch 'MoonModules:mdev' into mdev 2023-08-24 23:50:11 +02:00
tonyxforce
7f0191bd11 Minor code modifications/clean up 2023-08-24 23:47:57 +02:00
Frank
31badb0e66 8266 onUpdateBegin, and minor cleanup
* 8266 audioreactive: added minimal `onUpdateBegin()`
* small cleanups
2023-08-24 22:50:50 +02:00
tonyxforce
1d61351903 Code improvement changes 2023-08-24 20:19:41 +02:00
tonyxforce
d64b6b3511 fixed slider names 2023-08-23 21:46:35 +02:00
tonyxforce
05f5237971 modified: wled00/FX.cpp 2023-08-23 21:37:35 +02:00
tonyxforce
7fe0123c63 modified: wled00/FX.cpp
modified:   wled00/FX.h
2023-08-23 18:13:15 +02:00
Frank
82f9080609 show kernel debug messages in debug builds 2023-08-23 13:19:48 +02:00
Frank
087de86127 8266: minor buildenv updates
* -Wno-register not needed any more (solved in FastLED 3.6.0)
* ARDUINOJSON_DEBUG added to debug_flags
* use WLEDMM_PROTECT_SERVICE on 8266, too
2023-08-23 13:18:48 +02:00
Frank
92e64b797a 8266 hotfix: solving connectivity problems
* it seems that `WiFiUDP.flsuh()` does something completely different from 8266, and  its actually causing WLED to stall on UI calls. So not usable on 8266.
* fixing a few compiler warnings about "comparing signed and unsigned"

NB: its a hotfix, we have to check if there are other problems on 8266. Also its definitely ugly, but it helps as a band aid.
2023-08-22 22:55:05 +02:00
Frank
3bd0f70109 minor fix for 8266
small typo, resulting in "A0" listed twice in the pin info.
2023-08-22 22:49:01 +02:00
Blaz Kristan
7d45f826da Playlist saving bugfix.
Fixes #3324
2023-08-20 18:53:35 +02:00
Frank
28ca62a055 build number up
some minor updates from upstream
- JSON API : fix (de)allocations of pins for buttons/IR/RELAY
- JSON API: added sync groups
2023-08-16 10:03:14 +02:00
Blaž Kristan
23916268f5 Merge pull request #3317 from chroma-tech/group-masks-api
Add send and receive groups to json api
2023-08-16 09:58:30 +02:00
cschwinne
492581b206 Deallocate relay, button and IR pins prior to reallocation in JSON config parser (#3294) 2023-08-16 09:50:32 +02:00
Frank
44b77ffdc2 slightly increase buffer for oappend()
in some situations, 10 bytes were missing for audioreactive settings.
2023-08-14 13:24:22 +02:00
Frank
eecb0e700b quickfix for effect "double startup" problem
temporary workaround until fixed in upstream.

--> Please disable "Crossfade" in LEDs settings.
2023-08-10 13:58:57 +02:00
Frank
1b308ed3d9 Version ++ 2023-08-06 23:11:11 +02:00
Blaz Kristan
2ce8b929ca Fix for #3204 2023-08-06 23:03:59 +02:00
Frank
7002420a0c effects bugfix: prevent crash when SEGLEN==1
* Blurz and a few other effects would crash (or behave unexpectedly) for single pixel segments
* replaced a few "MAX" by "max", because MAX will evaluate its arguments twice so its very inefficient.
2023-08-05 23:29:23 +02:00
Frank
f35f2c3a3a Default = preview gamma correction enabled. 2023-08-05 15:33:36 +02:00
Frank
8e678ffa5e allow gamma corrected preview without gamma corrected LEDs 2023-08-05 00:06:58 +02:00
Frank
f010adfe24 experimental: preview with gamma correction
.... actually we undo gamma adjustments, because screens (laptop, pad, etc) will apply their own gamma corrections.

Activate in LED settings: "Use Gamma correction for preview"

Colors in WLED are sometimes gamma corrected, sometimes not. This change tries to make the best out of the color mess, but its still not working properly in all configurations.
2023-08-04 22:03:53 +02:00
Frank
30d2757db9 version of the day 2023-08-01 12:53:36 +02:00
Frank
c13b32e06a esp-now remote: fix crash with AP = Always
initialize ESPNOW only when Wifi (STA or AP) is running
2023-08-01 12:49:34 +02:00
Frank
05a600ef01 npm run build 2023-07-30 22:10:35 +02:00
Frank
e4338fcaf7 version bump 0.14.0-b26.30 2023-07-30 21:58:47 +02:00
Frank
54d04eca9b Merge branch 'preview_espnow_pr3237' into mdev 2023-07-30 21:50:19 +02:00
Frank
331089a8d9 esp-now remote: reduce number of exported functions
too many global variables and functions ... this makes stuff 'static' that can remain at file scope
2023-07-30 21:42:05 +02:00
Frank
704906472b (part2) lossless getPixelColor() where needed
more places where setUpLeds() is needed now.
2023-07-30 19:28:58 +02:00
Frank
67491d91c9 freqMap effect enhancements 2023-07-29 23:57:47 +02:00
Frank
be6f6412d6 effect parameter tinkering
* freqmap: fade faster
* Lissajous HD mode: color follows rotation
2023-07-29 23:00:27 +02:00
Frank
ab5cf95be4 always define WLEDMM_PROTECT_SERVICE
moved from MM specific platformio.ini into wled.h
2023-07-29 03:07:08 +02:00
Frank
adb3a12129 small speedup: IRAM_ATTR_YN colorBalanceFromKelvin 2023-07-28 21:04:59 +02:00
Christian Schwinne
f966b17f5a Remove obsolete Visual Studio files 2023-07-28 21:00:24 +02:00
Titanium177
8b25e78a7c Edited Metadata for effect 5 & 8 to be availible on just 1 Pixel (PWM) (#3275) 2023-07-28 20:53:40 +02:00
Frank
d899192794 2D Drift: minor optimization
moving "t/20" out of the main loop gives some speedup.
2023-07-28 20:46:39 +02:00
Frank
9b7f690708 Minor correction (slider names)
"Time delay" is actually "speed" - bigger values make the effect run faster.
2023-07-28 20:46:39 +02:00
Frank
553ac7bd82 remove some over-optimizations (FASTPATH) 2023-07-28 20:37:37 +02:00
Frank
3446044b81 Merge branch 'mdev' into preview_espnow_pr3237 2023-07-28 10:47:24 +02:00
Frank
2393e86f11 build ++
increment build number
2023-07-28 10:41:34 +02:00
Frank
07939ad70f add missing constant for 8266 2023-07-27 18:36:40 +02:00
Frank
adac40d585 post merge
*npm run build
* changed a few debug messages into user messages
* replaced 0 with ESP_OK
2023-07-27 18:31:18 +02:00
Clayton Sims
5e20f94b8e Support for ESP-NOW Wireless Remote Control (#3237)
* Initial checkin for ESP-NOW remote feature

* cleanup irrelevant comment

* don't bring in espnow package includes when feature disabled

* Formatting and removing inaccurate call mode hardcoding

* Fork ESP Now code by platform (8266 v. esp32)

* compiled html update

* Disable ESP-NOW remote by default on ESP32 until tested

* Enable ESP-NOW remote for ESP32

* Rename ESP NOW define

---------

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2023-07-27 17:17:41 +02:00
Frank
27d4128e2c lossless getPixelColor() where needed
after upstream PR https://github.com/Aircoookie/WLED/pull/3091, getPixelColor() does not restore brightness any more.

So all effects that rely on previous colors now need the LEDs buffer: getPixelColor, blenPixelColor, fade_out, blur, fadeToBlackBy

This change is an intermediate solution until upstream PR https://github.com/Aircoookie/WLED/pull/3280 is stable enough for merging.
2023-07-27 16:24:42 +02:00
Will Tatam
9d218299c4 Fix palette preview of Audio Responsive Ramp 2023-07-27 13:04:52 +01:00
Frank
39db568ca9 increase STACK_BUF_SIZE after PR#59
* increase buffer by 64 bytes (sting added in AR usermod)
* better diag message when buffer is full
* change "Arduino  max stack" to debug message
2023-07-27 12:45:14 +02:00