Commit Graph

3948 Commits

Author SHA1 Message Date
Frank
7e9474e78c depricate sPC(float, float)
the function is already removed in upstream.
You can use wu_pixel() instead, which is much faster and more accurate.
2024-09-29 17:51:44 +02:00
Frank
a0f07cabcb make a few getters "constexpr" as they just return a constant
constexpr ensures that the compiler will replace the "getter" call with the value return, saving function call overhead.

based on an idea from @blazoncek
2024-09-29 14:59:54 +02:00
Frank
559d86256c live preview speedup 2024-09-28 02:56:46 +02:00
Frank
59ca792c9d HUB75: trade bit depth against memory needs
gradually reduce bitdepts on esp32
2024-09-28 02:45:16 +02:00
Frank
2aa0d47036 adding getPixelColorRestored()
similar to getPixelColor, but returns the original pixel without brightness adjustments.

* getPixelColorRestored is used by segment::sPC and segment::gPC
* getPixelColor is still used by ABL (auto brightness limiter)
2024-09-28 02:43:12 +02:00
Frank
b245112d2a some drawing speedups
* speedups for addPixelColorXY, fadePixelColorXY, fadeToBlackBy
2024-09-28 02:19:53 +02:00
Frank
0555b8e5f2 HUB75: avoid allocating ledMap
based on an idea by @troyhacks : fight heap fragmentation by avoiding to allocate ledMap when not needed.
2024-09-28 02:18:24 +02:00
Frank
8338b58b88 HUB75 memory usage info on serial 2024-09-28 02:15:41 +02:00
Frank
3a506aded2 trying to keep scrolling text readable
the problem (partly solved) is that scrolling text does not erase any previous text, but simply paints pixels in addition.

* add a "shadow" area around each letter, which is explicitly painted black
* only possible when  Trail=0, and overlay option selected
2024-09-28 02:12:53 +02:00
Frank
0ca3f136b1 ws error printing improvement
* limit to 3 messages per second
* print size when alloc failed
2024-09-28 02:06:48 +02:00
Frank
bc11ec4b4e HUB75 bugfixes
* exclude HUB75 from ABL (bad macro in const.h; "pwr" item in json.cpp)
* show HUB75 as "physical" (LEDs preferences)
* minor corrections
2024-09-26 17:33:40 +02:00
Frank
1ddc9e38a2 HUB75 bugfix - preserve chain length parameter
chain length was always replaced with "4"
2024-09-26 16:55:40 +02:00
Frank
0a01926758 docu 2024-09-22 17:13:34 +02:00
Frank
c5a0ab33ea clean up BusConfig nPins chaos
still very confusing logic, but documented in a better way.
2024-09-22 17:10:21 +02:00
Frank
ffc9ec3cfb exclude HUB75 from auto brightness limiter
For a 64x64 panel, ABL assumes 4A of standby current. This does not make any sense.
2024-09-22 17:07:26 +02:00
Frank
3a638bb396 busmanger cannot handle more than 5 pins (hardcoded)
sizeof(pins)/sizeof(pins[0]) is the number of array elements in pins[].
2024-09-22 16:22:53 +02:00
Frank
18b35d11f8 usermod manager - small optimization
* use native types only (faster, smaller)
2024-09-21 20:42:03 +02:00
Frank
f1088bb5c0 (experimental) loop2 to get fresh audio just before drawing
* introducing usermod::loop2() - runs just before strip.service()
--> expecting to reduce lagging between audio and visual to an absolute minimum.
2024-09-21 20:41:05 +02:00
Frank
e100a2d69a switch off brightness reduction
this was added due to a recommendation from MrF (HUB75)  but it seems to work without, too.
2024-09-21 20:07:52 +02:00
Frank
28fe5cbd8b forgot one 2024-09-21 20:04:06 +02:00
Will Tatam
3669946a09 Swap pins used for S3 to avoid gpio0 2024-09-21 18:54:38 +01:00
Frank
80a2f2b85b minor corrections
* fix some override problems bus_manager (canShow() must not be const!!!)
* fixing some "comparing integer with different signedness" warnings
2024-09-21 19:41:51 +02:00
Frank
569ba1c626 s3: better handling of PSRAM pins 2024-09-21 19:29:28 +02:00
Frank
095d18bca5 board definition for T7-S3 (LILYGO / TTGO) 2024-09-21 19:27:17 +02:00
Will Tatam
2781be375f Swap pins used for S3 with PSRAM to avoid conflict 2024-09-21 16:52:32 +01:00
Will Tatam
22bd52198f Cleanup Hub75 config 2024-09-21 15:59:35 +01:00
Frank
08c2446f61 better PSRAM flags handling (minor)
in MM, we can have WLED_USE_PSRAM_JSON instead of WLED_USE_PSRAM.
2024-09-17 18:11:06 +02:00
Frank
c65a2bc0af Merge branch 'mdev' into pr/163 2024-09-17 17:49:49 +02:00
Troy
645b45a22d Added WLEDMM_NO_MAP_RESET
Allows use of ledmaps with segments without messing with the segments. LEDs can remain remapped even with segments on top of them. (For Dom)
2024-09-16 14:19:06 -04:00
Troy
3ee05a74b4 PSRAM buffer fixes as per SoftHack007 2024-09-10 15:11:17 -04:00
Troy
08e2e188d9 Merge branch 'mdev' into HUB75-PSRAM-Buffers-Fixes 2024-09-09 18:56:06 -04:00
Troy
c2adb5be34 HUB75 PSRAM Buffers 2024-09-09 18:53:40 -04:00
Will Tatam
8c0fcaa0fd hub75 - mxconfig.clkphase = false 2024-09-07 17:19:46 +01:00
Will Tatam
37a3141f88 HD-WF2 tweaks 2024-09-07 13:34:09 +01:00
Frank
dbb8683ad6 Update index.js - shorten .bin name 2024-09-06 15:59:55 +02:00
Frank
eb3ae13fab 0.14.1-b32.41.dev -> "dev" for developer build
this is a valid "semantic version".
checked by https://jubianchi.github.io/semver-check/#/version/0.14.1-b32.41.dev
2024-09-06 15:35:00 +02:00
Frank
fc2e1263cb new option don't use effect-specific palette or mapping modes
* new setting in UI page: "Don't use effect palette and segment parameters" - only meaningful when "Use effect default parameters" is enabled, too.

--> effect slider defaults will still be applied, however palette, 1D2D mapping mode and other segment settings will not change.
2024-09-06 13:06:28 +02:00
Frank
bef964dcba bugfix: prevent clearing of segment settings when changing effects
in multi-segment setups, the segment options reverse, reverseY, mirror, and mirrorY were accidentally overwritten  when changing effects.
2024-09-06 12:54:27 +02:00
Blaz Kristan
6d83adae3c Mirroring bugfix. 2024-09-05 00:06:12 +02:00
netmindz
a7cb4b7dc7 Merge pull request #158 from netmindz/HD-WF2
Add support for HD-WF2
2024-08-26 13:27:28 +01:00
Will Tatam
1e6cdc2c5b HD-WF1 pinout 2024-08-22 20:41:23 +01:00
Will Tatam
a5600950b5 Enable HUB75 for the esp32S3_8MB_M for HD-WF2 2024-08-21 23:34:11 +01:00
Will Tatam
0d11827552 Add pinout for HD-WF2 2024-08-21 22:40:40 +01:00
Troy
aa38c113e3 More boot log clarity 2024-08-21 14:01:11 -04:00
Troy
b12b23d02c Boot log clarification. 2024-08-21 13:59:03 -04:00
Troy
01e51e5751 More fixes for non-ESP32 boards 2024-08-21 13:57:58 -04:00
Troy
ef6bedee76 Minor tidy 2024-08-21 13:53:14 -04:00
Troy
0a26aa918c Fixes for non-ESP32 boards 2024-08-21 13:51:58 -04:00
Troy
9e24a634c2 ESP32 Dual Booting 2024-08-21 13:43:59 -04:00
Frank
b47c55db90 fix 8266 builds
wled00/FX_fcn.cpp:974:16: error: '_isSuperSimpleSegment' was not declared in this scope
2024-08-18 13:21:55 +02:00