Frank
f8a673ce81
code robustness improvements plus minor speedup
...
* make XY() and _setPixelColorXY_raw() const (minor speedup)
* segment is a struct not a class: friend class Segment --> friend struct Segment
* fix missing braces around two macros
* use non-throwing "new" where possible
* improve robustness of transition code
2025-01-07 15:58:38 +01:00
Frank
32b22636fa
Build 2501030
2025-01-03 17:51:14 +01:00
Frank
fdc43e0a2b
Update usermod_PIR_sensor_switch.h - avoid starvation due to strip.isupdating()
...
Another instance of the "if (strip.isupdating()) return;" problem that we inherited from upstream 🙄
2025-01-03 17:45:01 +01:00
Troy
9618d7a531
Merge pull request #208 from troyhacks/mdev
...
Fixes for ES8311 auto level control
2025-01-02 12:41:33 -05:00
Troy
b4323a3256
Fixes for ES8311 auto level control
2025-01-02 12:38:35 -05:00
Frank
d58cb495e4
fix for realtime mode with "use main segment only"
2024-12-30 23:31:13 +01:00
Frank
4116785b44
build 2412300
2024-12-30 22:55:03 +01:00
Frank
e65832ab70
always use preset glitch workaround
2024-12-30 22:52:27 +01:00
Damian Schneider
6d0b4c330b
Fix output glitches when playlist changes preset ( #4442 )
...
same issue as with https://github.com/Aircoookie/WLED/pull/4386
waiting on bus to finish updating before file access fixes the glitches.
this issue is only present on S2 and C3, not on ESP8266 or dual-core ESPs, the fix is only applied for these two.
2024-12-30 22:39:39 +01:00
Blaž Kristan
db88d702ec
Merge pull request #3892 from askask/pollreply
2024-12-30 22:31:54 +01:00
Will Miles
93e874dee1
DDP: Support sources that don't push
...
If the source never sends the push flag, WLED buffers the update but
never publishes it to the LEDs. This causes the confusing case where
the peek display shows one thing but the LEDs themselves something else.
Add a static flag that tracks if we've seen a push from the source;
until we do, apply every update as soon as it's received, per the DDP
specification.
2024-12-30 22:15:50 +01:00
Frank
257b7b5876
better audiosyncPacket description (audio_reactive.h)
...
clarify meaning of some fields
2024-12-29 19:56:28 +01:00
Frank
f24d35e970
slowMode fix
...
continue searching for busses in slowMode
2024-12-20 20:50:17 +01:00
Frank
2cff35e26b
stupid bug fix.
2024-12-20 17:50:39 +01:00
Frank
02f51d4582
realtime mode bugfixes
...
- busses: ignore not valid bus instances
- "use main segment only": prevent flickering du to intermitted strip.service().
2024-12-20 17:47:07 +01:00
Frank
fd2bce521b
fix for outputs not working any more when receiving DDP or art-net pixels
...
This disables bus caching (and related speedups) while receiving realtime UDP pixels.
Its still totally unclear to me what happens, and why disabling the cache solves problems.
2024-12-20 01:57:02 +01:00
Frank
dc0b6bca37
fix forgotten debug output
...
this was accidentally committed - doesn't hurt, but the code should only be active with WLED_DEBUG
2024-12-19 23:32:26 +01:00
Frank
7b3b6b45a1
fix preview flickering when sending out DDP or art-net
...
BusNetwork stores original colors (not modified by global brightness), so `restoreColorLossy(strip.getPixelColor(i), stripBrightness);` was actually restoring brightness twice when running network output. This lead to preview flickering.
2024-12-19 23:18:25 +01:00
Frank
87e6a7bd8e
start of 14.5.1-dev, build 2412190
2024-12-19 23:16:18 +01:00
Frank
d98ef84d40
additional matrixportal buildenv using original adafruit bootloader
...
you should
first) perform the "bootloader repair" as described in https://learn.adafruit.com/adafruit-matrixportal-s3/factory-reset#factory-reset-and-bootloader-repair-3107941
second) upload partitions.bin and firmware.bin created by the _tinyUF2 build
2024-12-19 12:53:40 +01:00
Frank
a7a27d9d5e
14.5.0-beta, build 2412180
2024-12-18 11:29:35 +01:00
Frank
ae65a83bca
fix for esp32S3_4MB_PSRAM builds (S3 zero and supermini)
2024-12-13 19:05:39 +01:00
Frank
655fada80c
platformio.ini cleanup
...
* re-organized default_env by board type
* added a note saying if HUB75 support is included
* esp32 buildenv cleanup (removed not used flags)
* env:esp32_4MB_PSRAM_M deleted
* flash usage statistics
2024-12-13 18:37:47 +01:00
Frank
8e64a20454
Update platformio.ini - ESP32 build env with HUB75 support
...
build_flags were still using "old style" HUB75 flags
2024-12-13 15:41:51 +01:00
Frank
151e7a8a69
WiFi -> Wi-Fi
...
The official spelling is 'Wi-Fi'
2024-12-13 13:21:33 +01:00
Frank
a37e20560d
minor HTML and CSS fixes
...
* duplicate use of ID "heart"
* "& " --> "& "
* missed changes in simple UI
2024-12-13 13:16:39 +01:00
Frank
37d0086aad
tiny change to test CI builds
2024-12-12 17:38:25 +01:00
Frank
636dd2afa8
Fix CI builds by explicitly requiring ubuntu-22.04
2024-12-12 17:35:32 +01:00
Frank
6e14dac049
ripple and rain effect fixes (for large fixtures)
...
* made timing calculations work with large led counts
* improve randomness by injecting esp_random()
* ripple 2D: avoid ugly artifacts, by limiting circles to on-screen coordibnates
2024-12-12 17:25:46 +01:00
Frank
3ef8d93bbe
another attempt to reduces flickering
...
* BusManager::show(): explicitly wait until the bus driver is idle (done by NPB show, too, but in a different way)
* BusManager::removeAll(): use delay() instead of yield() - yield() does _not_ free the processor on esp32!
2024-12-12 14:50:39 +01:00
Frank
40bfe619b9
bugfix: avoid double blanking segments
...
if both seg.reset and seg.needsBlank were set, this caused a second (unwanted) blanking in frame 1.
2024-12-11 18:52:02 +01:00
Frank
2cc08486fd
change version numbering scheme
...
* use 14.5.0-dev instead of "0.14.5.0-b32.41.dev"
* new release name "Small Step"
* semantic versioning compatibility checked, see https://jubianchi.github.io/semver-check/#/version/14.5.0-dev
2024-12-11 15:09:05 +01:00
Troy
a5e9df6668
Revert "Merge pull request #204 from troyhacks/Strip_Level_Color_Adjust"
...
This reverts commit db55872732 , reversing
changes made to 972257a7ee .
2024-12-10 12:14:03 -05:00
Troy
db55872732
Merge pull request #204 from troyhacks/Strip_Level_Color_Adjust
...
Strip level color adjust
2024-12-10 12:12:51 -05:00
Troy
6ad0b2893a
Merge branch 'mdev' into Strip_Level_Color_Adjust
2024-12-10 12:12:44 -05:00
Frank
972257a7ee
minor code cleanup
...
* removed dead code
* prevent promotion to double
* made constants constexpr
* made some methods const
* fixed a few typo's
2024-12-04 22:18:39 +01:00
Frank
102d098e28
bugfix #3 for ghostly appearing switched-off segments
2024-12-04 18:05:37 +01:00
Troy
859e56a2eb
Merge pull request #201 from troyhacks/mdev
...
Cosmetic 2D Setup change: Start at Panel 1 instead of 0
2024-12-04 10:56:41 -05:00
Troy
3dbf78aa2d
Merge branch 'mdev' of https://github.com/troyhacks/WLED into mdev
2024-12-04 10:53:58 -05:00
Troy
e5b22bc8d1
Cosmetic 2D Setup change: Start at Panel 1 instead of 0
2024-12-04 10:53:48 -05:00
Frank
f4ac04b9f9
Update platformio.ini - fix for duplicate WLED_RELEASE_NAMEs
...
esp32S3_4MB_S and esp32s3_8MB_M were used by two different buildenvs.
2024-12-03 22:48:35 +01:00
Frank
9ea2303ecb
DNA effect optimization (phases)
...
* non-breaking - reproduces the old behavior at phases = 127
* minor math optimizations
* phase boost for large values (good for small panels)
2024-12-03 20:00:26 +01:00
Frank
2bfa3b70f7
Merge branch 'mdev' of https://github.com/MoonModules/WLED into mdev
2024-12-03 16:32:54 +01:00
Frank
86ed5a82e3
DNA effect: additional parameter "phases" (thanks @ewoudwijma )
...
controls the number of phases shown by the effect
breaking - the old code was using a fixed width per wave, while the new one always fits the same number waves into the panel width.
2024-12-03 16:31:52 +01:00
Frank
23d41e66c9
bugfix #2 for switched-off segments
...
segments that are "off" were still rendered during transitions.
2024-12-03 16:04:21 +01:00
netmindz
67e78296be
Merge pull request #168 from troyhacks/ES8311-Support
...
ES8311 Support
2024-12-03 14:48:25 +00:00
Frank
9922d2aa8d
bugfix: don't render segments that are "off"
2024-12-03 14:44:46 +01:00
Frank
93596846ca
Merge pull request #199 from MoonModules/FX_AudioComet
...
audioreactive comet effect (backported from WLED-SR)
2024-12-03 13:19:09 +01:00
Frank
0dbde5a257
audioreactive multi-comet (backported from WELD-SR 0.13.4)
2024-12-03 13:06:47 +01:00
Frank
f2f621befc
minor FX improvements
...
Fire2012: better randomness
Julia: avoid darkening when using "blur"
2024-12-03 12:48:11 +01:00