Commit Graph

5752 Commits

Author SHA1 Message Date
Frank
06fc1eb5b8 HUB75: use last brightness on re-init
avoids brightness flash when saving LED preferences
2024-11-15 22:33:29 +01: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
Frank
81facea82f color_fade small improvement
avoids over-blending, and gives a tiny speedup.
2024-11-14 14:14:36 +01: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
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
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
Frank
aafebf7aad bugfix: make pseudo-1D segments (width=1, height=x) work again 2024-11-07 19:34:19 +01:00
Frank
53ecf16ab1 bugfix: make freeze work again
the last commit had a side-effect that cause "freeze" to first blank the screen, then freeze.
2024-11-07 16:43:20 +01:00
Frank
d1541b520f Bugfix: remove ghost pixels when changing segment options
... transpose, mirror, reverse, grouping, spacing, size

* unlike AC WLED, when calling seg.fill(BLACK) from webserver context this usually has no effect --> added  markForBlank() that shedules segment blanking at the next drawing cycle
* fill previous segment with black when size, grouping or spacing changes
2024-11-07 14:36:39 +01:00
Frank
bab415156b HUB75 input validation (return of hack-the-DOM) 2024-11-07 12:25:18 +01:00
Frank
c5ebf259cf HUB75: allow up to 6 panels on -S3 2024-11-07 00:25:35 +01:00
Frank
cbd1ce4705 HUB75 hack-the-DOM
* Reversed -> mxconfig.clkphase ; "Inverted clock phase"
* Off Refresh -> mxconfig.latch_blanking = 1; "Single-cycle latch blanking"
2024-11-07 00:06:46 +01:00
Frank
7fb3fe65b2 experimental: strict framerate limit for strip.show() 2024-11-06 13:19:54 +01:00
Frank
d53c0a31e9 FPS calculation minor improvement
seems to work better without rounding
2024-11-06 13:18:33 +01:00
Frank
7f3d43bc57 WS2812FX::service() fix for non-fastpath builds 2024-11-05 18:50:22 +01:00
Frank
a2e9e77ca7 setTargetFps with rounding 2024-11-05 18:07:17 +01:00
Frank
b793c7cb9c trying to stabilze FPS for Art-Net 2024-11-05 17:44:57 +01:00
Frank
9d84fa6bea Minor UI improvement: link FPS warning to Backup&Restore page 2024-11-05 12:06:48 +01:00
Frank
bceb52411d Merge pull request #177 from MoonModules/moonHUB
add support for T7-S3 (LILYGO / TTGO) with MOONHUB
2024-11-04 23:06:23 +01:00
Frank
0ec5d3394f T7-S3 (LILYGO / TTGO) with MOONHUB
build env and HUB75 pinout for S3 and MOONHUB HUB75 adapter board
2024-11-04 22:54:30 +01:00
Frank
d0f90d0dd2 effect FPS tinkering 2024-11-04 16:28:13 +01:00
Frank
0d6e2c9485 UI improvement (target FPS settings) 2024-11-04 16:01:48 +01:00
Frank
ebeff6590a Merge pull request #176 from MoonModules/showtime
Improved framerate control code - strip.show(), strip.service()
2024-11-04 14:44:37 +01:00
Frank
68c4b830a6 legacy code cleanup 2024-11-04 14:17:59 +01:00
Frank
dc4964a491 small update
based on feedback from the PR to upstream
* support "0 FPS" meaning "unlimited"
* keep FRAMETIME_FIXED fixed
2024-11-04 13:47:05 +01:00
Frank
39bf245d1e HUB75 driver optimization
gains up to 3 fps in some effects.
2024-11-03 21:54:41 +01:00
Frank
ffa5445aec minor pio update
avoid pin conflicts with HUB75
2024-11-01 20:13:11 +01:00
Frank
1a44a80830 MM buildenv for S3 WROOM-2 (32MB flash, 8MB PSRAM)
this board requires memory_type = opi_opi
2024-11-01 20:08:05 +01:00
Frank
6bae356789 renaming
upstream has renamed "now" to "showNow" - so we follow
2024-11-01 17:17:54 +01:00
Frank
bf5fb9ccaa fix compile errors 2024-11-01 15:12:07 +01:00
Frank
1c782aa369 improvement for non-fastpath 2024-11-01 14:58:12 +01:00
Frank
7c0ecdf7c4 make "target FPS" work 2024-11-01 14:51:12 +01:00
Frank
5fa7d06fe0 typo in comment 2024-11-01 14:08:25 +01:00
Frank
b39120407f pio: save some flash on 4MB firmware builds 2024-11-01 14:04:46 +01:00
Frank
85035e54e8 bugfix for random crash when changing effects 2024-11-01 13:32:50 +01:00
Frank
6092705cc4 HUB75: reduced panel size limits for HD-WF2 2024-11-01 13:30:49 +01:00
Frank
8eb23d137d UI "new segment" layout fix 2024-10-31 11:51:27 +01:00
Frank
ac71664af5 Presets UI bugfix
"edit" and "open" button were overlapping too much.
2024-10-31 11:22:01 +01:00
Frank
9312506217 detection of "OPI" flash (esp32s3 WROOM-2) 2024-10-30 18:40:26 +01:00