Commit Graph

5615 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
b650c15997 platformio.ini updates for HUB75
* -D WLEDMM_SLOWPATH prevents using I2S#1 for ws281x leds
- matrixPortal S3: minor update to use more PSRAM (and keep more RAM availeable)
2024-09-29 02:01:57 +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
Will Tatam
42a3e1317d Merge branch 'mdev' of github.com:MoonModules/WLED into mdev 2024-09-21 18:52:10 +01:00
Will Tatam
087f156d35 Reset ESP32-HUB75-MatrixPanel-DMA library version back to one with the S3_LCD_DIV_NUM fix 2024-09-21 18:51:55 +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
24d2a43767 Enable HUB75 for esp32S3_8MB_PSRAM_M 2024-09-21 16:53:13 +01: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
9f4e9d6d85 Merge pull request #163 from troyhacks/HUB75-PSRAM-Buffers-Fixes
HUB75 PSRAM Buffers for -S3 with OPI PSRAM
2024-09-17 18:16:57 +02: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
Blaž Kristan
9fc279a3a6 Merge pull request #4142 from willmmiles/fix-webserver-pin
Fix AsyncWebServer version pin
2024-09-17 14:05:15 +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
Frank
6b00d2fc0a Merge pull request #162 from netmindz/actions-update
Update github actions
2024-09-10 21:51:39 +02: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
2276080c67 Fix artifact upload 2024-09-07 18:56:59 +01:00
Will Tatam
163ba3aaf6 Update actions/download-artifct action 2024-09-07 18:32:22 +01:00
Will Tatam
678243f5ca Fix artifact upload 2024-09-07 18:23:30 +01:00
Will Tatam
3f674aeaa3 Fix artifact upload 2024-09-07 18:11:31 +01:00
Will Tatam
d08b4a51fa Fix artifact upload 2024-09-07 18:07:48 +01:00
Will Tatam
1e04f4bdb7 Update actions/setup-python action 2024-09-07 17:59:53 +01:00
Will Tatam
dabda3a02c Update actions/cache action 2024-09-07 17:56:00 +01:00
Will Tatam
ebbd06800e Update actions/setup-python action 2024-09-07 17:55:12 +01:00
Will Tatam
fff7a47ab5 Update actions/checkout action 2024-09-07 17:53:49 +01:00
Will Tatam
908481a55a Tweak github caching 2024-09-07 17:47:13 +01:00
Will Tatam
cb9fb8ddd4 Update actions/upload-artifact 2024-09-07 17:29:09 +01:00