Commit Graph

5786 Commits

Author SHA1 Message Date
Frank
b1064e1cfe HUB75: use FM6124 driver for outdoor
It seems that the FM6124 driver makes some "outdoor" panels work, that previously only showed random color flicker. FM6124 is largely compatible with panels that did work with the standard driver, too.
2024-11-18 23:58:43 +01:00
Frank
fb259d1bc6 Merge pull request #179 from troyhacks/Art-Net-Improvements-v2
Art-Net Improvements
* AsyncUDP instead of WiFiUDP so it's much faster
* Support for professional Art-Net gear with many outputs
* Color-order remapping
* ESP32-P4 SIMD assembly optimization for brightness calc, a bit faster
* Full GUI support for all settings
* GUI guidance for setup
2024-11-18 13:47:17 +01:00
Frank
e8d8a1c7c3 esp01_1MB_S has (again) exceeded flash size limits
remove IR support, to get it back to 98% program size.
2024-11-18 11:37:01 +01:00
Troy
0fc22f8150 Merge branch 'Art-Net-Improvements-v2' of https://github.com/troyhacks/WLED into Art-Net-Improvements-v2 2024-11-17 18:37:33 -05:00
Troy
db3be8580f Art-Net v2 code review changes 2024-11-17 18:37:30 -05:00
Troy
b62a22e4e6 Remove unused variable 2024-11-17 18:26:04 -05:00
Will Miles
3e44b7852e Fix array overflow in exploding_fireworks
Attempt to allocate enough room for the "minimum" sparks; and ensure
that we never overrun the allocated array size.

Fixes #4120
2024-11-17 17:48:34 +01:00
Frank
e4902b8c48 Merge pull request #181 from Brandon502/GoL-Fast
Game of Life Optimizations
2024-11-17 00:24:56 +01:00
Frank
b8f1d057db Update settings_leds.htm
bugfix: input field was not renamed back to "Off Refresh"
2024-11-16 23:51:11 +01:00
Brandon502
5b3d85fe3e GoL - bgBlendMode fix
Use superDead correctly with bgBlendMode
2024-11-16 15:56:57 -05:00
Frank
3c4d71369b OTA error code for WLEDMM_SAVE_FLASH
reduces program size by ~200 bytes
2024-11-16 19:13:10 +01:00
Brandon502
8a0660c130 GoL - 1 Byte version
Removed future status/neighbors. Uses 2 loops to set cells. Shifting from future to current no longer needed.
2024-11-16 12:59:39 -05:00
Brandon502
aafbdb7d27 Merge remote-tracking branch 'upstream/mdev' into GoL-Fast 2024-11-16 12:56:29 -05:00
Frank
52509bab0f OTA update improved error messages
The OTA update class can deliver an error message.

old: "Please check your file and retry"
new: "Could Not Activate The Firmware. (wrong board type?). Please check your file and retry!"
2024-11-16 18:13:15 +01:00
Frank
7167db4a22 Polar Lights upgrade
* stop flickering when rows > 56
* blur option added
* allow to use palettes
2024-11-16 01:43:18 +01:00
Frank
db1db330af HUB75: bugfix for 4-scan (virtual) panels chain
module cols parameter must be chain_length
2024-11-15 23:33:57 +01:00
Frank
06fc1eb5b8 HUB75: use last brightness on re-init
avoids brightness flash when saving LED preferences
2024-11-15 22:33:29 +01:00
Brandon502
270e7265cf Merge remote-tracking branch 'upstream/mdev' into GoL-Fast 2024-11-15 16:05:14 -05:00
Frank
d6dedd025d color_fade optimizations
* removed unnecessary conditions
* optimized bit-shifting logic
* use uint16_t for colors, to prevent the compiler from using 64bit integer
2024-11-15 20:12:01 +01:00
Frank
e756216eca drift rose optimizations
* pre-calculate some repeated values
* added option "full expand" that zooms in on non-square panels
2024-11-15 20:08:36 +01:00
Frank
6ef0578613 color_blend accuracy improvements
For 8bit blends, we adopt the new blend8() logic from FastLED.

The WLED color_clend function is based on very old FastLED code, that was replaced 3 years ago due to serious rounding problems.
2024-11-15 15:14:44 +01:00
Frank
776718b734 2D drift improvements for large panel sizes
speedup, accuracy improvements and enhancements:
* separated calculations in float from integer
* improved time resolution
* slow down effect on for dimensions >32
* added original "twin" option
* added customizable blur (thanks dedehai)
2024-11-14 18:30:43 +01:00
Brandon502
f205476848 Merge remote-tracking branch 'upstream/mdev' into GoL-Fast 2024-11-14 10:33:43 -05:00
Frank
81facea82f color_fade small improvement
avoids over-blending, and gives a tiny speedup.
2024-11-14 14:14:36 +01:00
Brandon502
192b4a8fb5 Merge remote-tracking branch 'upstream/mdev' into GoL-Fast 2024-11-13 22:05:18 -05:00
Brandon502
5d27e8f340 GoL - Minor Changes
Use defined(ARDUINO_ARCH_ESP32)
getNeighborIndexes loop changes
offsets use int8_t
change prevRows/Cols to uint16
2024-11-13 22:05:13 -05:00
Frank
5ea3aa9ce5 misses one 2024-11-14 00:00:58 +01:00
Frank
c73ed486e9 effect bugfixes for width>255
* band-aid for ripple, matrix, crazy bee
* arc mapping fix for diameter > 255
* small speedup for "block" mapping
2024-11-13 23:57:53 +01:00
Frank
202255849f fix errors when width>255 or height>255
some effects still don't work when x y dimensions do not fit into 8bit
2024-11-13 23:06:27 +01:00
Frank
df9b1a41a9 Update .gitignore
lowercase
2024-11-11 11:55:58 +01:00
Frank
7a3a1ce177 add some CLion internal files to .gitignore 2024-11-10 21:37:10 +01:00
Frank
8f4b6d01d4 add [env:esp32s2_PSRAM_S]
with reduced functionality, to be OTA compatible to upstream WLED
2024-11-10 20:51:30 +01:00
Troy
3828d959e6 Minor indent fix 2024-11-10 13:39:47 -05:00
Troy
9223b3c6cd Free BusNetwork _data on cleanup 2024-11-10 13:35:54 -05:00
Troy
6b2c4aec2f Code Review Fixes 2024-11-10 08:58:01 -05:00
Troy
f096da3c8b Review Fixes 2024-11-10 07:18:39 -05:00
Troy
05d441db61 Review Fixes 2024-11-10 07:15:27 -05:00
Brandon502
549380a2bf Game of Life Optimizations
Uses more memory to achieve much higher framerates on large setups. Neighbor counts are stored instead of constantly recalculated. CRC is no longer used for repeat detection so false positives are no longer possible.
2024-11-09 15:50:20 -05:00
Frank
537638e5a2 Bugfix: saving LED settings not possible when brightness limiter disabled
--- and the "Maximum Current" field is empty or has a value below 250.
2024-11-08 14:30:19 +01:00
Frank
2e80d96400 HUB75 - comment out dead code 2024-11-08 12:24:34 +01:00
Frank
b1194f597c fix for a potential endless loop in palette blending
this bug is hard to trigger - when a palette transition is in progress and the main loop gets delayed (wifi connect, saving large preset files) then a calculation in setCurrentPalette() could overflow leading to an infinite loop.
2024-11-08 12:12:22 +01:00
Troy
e7fb8f5748 IRAM_ATTR_YN for ES8266 2024-11-07 17:03:24 -05:00
Frank
426805f674 bugfix: effect sliders cause screen balnking
@Brandon502 it works now with the matrix effect, can you retest please?
2024-11-07 21:03:56 +01:00
Frank
0b25c2757d remove ESP-NOW from esp01_1MB_S
over 100% flash usage.
2024-11-07 19:54:41 +01:00
Troy
c45820dea1 Merge branch 'MoonModules:mdev' into Art-Net-Improvements-v2 2024-11-07 13:53:48 -05:00
Troy
7bf3f4aee0 Fixes for ESP8266 2024-11-07 13:48:17 -05:00
Frank
aafebf7aad bugfix: make pseudo-1D segments (width=1, height=x) work again 2024-11-07 19:34:19 +01:00
Troy
e9ce495d83 P4 Assembly for Art-Net 2024-11-07 13:32:45 -05:00
Troy
3f02ba73df Art-Net Color Order Maps, RGBW 2024-11-07 13:26:14 -05:00
Troy
3012272ed3 Art-Net sane defaults if using an old config without the new values 2024-11-07 13:14:06 -05:00