Frank
22b16ab542
Align all licensing statements with EUPL-1.2
2024-10-14 21:52:52 +02:00
Frank
ea9dad8918
Update readme.md
...
minor edit
2024-10-03 20:14:50 +02:00
Frank
5b1877e343
Change to EUPL-1.2
2024-10-03 20:12:28 +02:00
Frank
e103a96eea
Merge pull request #147 from Brandon502/mdev
...
2D Effect Snow Fall
2024-10-03 00:21:33 +02:00
Frank
1e5b246871
small fixes
...
very minor changes:
* HUB75 bus don't leave _len uninitialized, handle display == nullptr before using display members
* __attribute__((pure)) was in the wrong location
* wled00.ino: made lps (loops-per-second) calculation a bit more accurate
2024-10-03 00:19:18 +02:00
Brandon502
ebd16f6be4
Snow Fall - Minor Changes
2024-10-02 18:12:03 -04:00
Brandon502
18e22f5b5f
Merge remote-tracking branch 'upstream/mdev' into mdev
2024-10-02 17:43:15 -04:00
Blaz Kristan
3a38d0cfed
Fix for #4005
2024-10-02 23:22:27 +02:00
Will Tatam
16644f838a
Remove stray commma from _data_FX_MODE_2DGAMEOFLIFE
2024-10-02 19:20:40 +01:00
Frank
b436a595ef
bugfix for holes in 2D DNA Spiral
...
Holes were visible at height > 32. Root cause: "lerp8x8" seems to be inaccurate --> replaced by a simple linear calculation.
2024-10-02 17:09:29 +02:00
Frank
79f5db6d65
fadePixelColorXY bugfix
2024-10-02 16:12:48 +02:00
Frank
9ed787c086
colored burst effect bugfix (swapped XY dimensions)
...
fixing a bug where width and height got swapped (visible on non-square panels)
2024-09-30 18:54:32 +02:00
Frank
b0a7330a31
Akemi memory saver
...
lossless getPixelColor buffer is not needed for Akemi.
2024-09-30 17:35:14 +02:00
Frank
813b3705c1
Akemi bugfix for panel width > 32
...
due to a math accident, Akemi did not show proper GEQ bands in its hands when width>32.
2024-09-30 17:33:25 +02:00
Frank
63ff7205d6
wu_pixel small optimization
...
5% faster
2024-09-29 18:37:18 +02:00
Frank
3110b0a476
fix for XL builds
...
some usermod still seems to used sPC(float, float, c).
> Linking .pio/build/esp32_4MB_XL/firmware.elf
.pio/build/esp32_4MB_XL/src/usermods_list.cpp.o:(.literal._ZN7Frame3DD5Ev[Frame3D::~Frame3D()]+0x4): undefined reference to `Segment::setPixelColorXY(float, float, unsigned int, bool, bool)'
2024-09-29 18:02:39 +02:00
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