Commit Graph

3415 Commits

Author SHA1 Message Date
TroyHacks
3ba2fe4ee0 WM8978 support for PicoDSP, etc. 2023-10-20 01:23:10 -04:00
Ewoud
294a872462 json/info: brand and product configurable by compile variables
For MM builds brand = WLEDMM
Will be used in WLED-Native - by Moustachauve

Changed in bh1750, bme280, pir, json.cpp and wled.h
2023-10-15 21:43:55 +02:00
Frank
6d9af29042 Polar Lights minor speedup
* perform some calculations outside of the main loop.
* move "mapf" to the top of fx.cpp
2023-10-10 22:06:04 +02:00
Frank
57096ad676 bugfix: info page microscopic font size
splitting CSS attributes for info and nodes, to preserve font size for info page.
2023-10-10 11:54:51 +02:00
Frank
01634450a0 minor clarification
so what is it ??
;-)
2023-10-08 21:46:57 +02:00
Ewoud
71abd117b5 PolarLights and Octopus: deterministic + SuperSync control
FX.cpp
- SuperSync control on Polar lights and Octopus:  only calculate pixels for the first panel
2023-10-08 19:02:32 +02:00
Ewoud
4b12f05228 Nodes popup: add real fps 2023-10-08 17:59:41 +02:00
Ewoud
b07562659f SuperSync small updates 2023-10-08 17:09:57 +02:00
Ewoud
81e57bae7e Nodes popup SuperSync ready for test
index.js
- cleanup code
- reordercolumns
- add warnings (orange) for version, bri scale and fps
- add led output length equal to panel dimensions
- master node order
2023-10-08 12:40:12 +02:00
Frank
bd847e4579 npm run build
daily business
2023-10-07 20:57:45 +02:00
Frank
4e530dfa20 0.14.0-b27.32
time to increment the minor number
2023-10-07 20:55:01 +02:00
Frank
2a7767dda8 Merge branch 'buildcache' into mdev 2023-10-07 20:42:27 +02:00
Frank
77cef80417 Merge pull request #73 from arneboe/fix_static_effect_timing
Fix return value (frameDelay) of FX_MODE_STATIC
2023-10-07 16:24:10 +02:00
Frank
0ec54c4911 WLEDMM specific improvement
WLEDMM has FRAMETIME_FIXED_SLOW which seems perfect for this usecase.
2023-10-07 16:23:15 +02:00
Ewoud
fea47b5965 Add Ethernet type: Olimex ESP32 Gateway
index.js:
- add leds instead of matrix to extendedNodes array
- split V and P ledcount
2023-10-07 15:25:27 +02:00
Frank
15cea2b00a optimization: only use "float" math functions
- saves 5KB flash and some RAM
-allow to build with -D WLED_USE_UNREAL_MATH, to restore old behaviour and save another 6KB flash
2023-10-06 19:37:06 +02:00
Frank
6fdd1823e0 build number of today 2023-10-06 17:33:21 +02:00
Blaz Kristan
ecb2f48c32 FX update
- Meteor: trail & 0.13 behaviour
- Meteor Smooth: train & 0.13 behaviour
- Scrolling Text: rotation
2023-10-06 17:30:02 +02:00
Frank
138ebc69de npm run build
yo'man
2023-10-06 17:24:53 +02:00
Blaz Kristan
3eb360dfe1 Fix for #3403 2023-10-06 17:19:25 +02:00
Blaz Kristan
7e21003f07 Fix for #3405 2023-10-06 17:00:10 +02:00
Frank
e578f6ef05 Merge pull request #3420 from mountainash/fix/duplicate-viewport-declaration
Remove duplicate `viewport` declaration, put lang=en into the right place
2023-10-06 16:54:46 +02:00
Frank
c3a2efce63 fix for #3400
replace low_accuracy math functions (sint_t, cos_t, atan_t, ...) with standard libm functions that have higher accuracy.
2023-10-06 16:53:23 +02:00
Ewoud
1db950389a SuperSync button works
index.js
- extend checkNode function (panel 0, nrofpanels, matrix size)
- populateNodes: add panel 0 and dummypanel
2023-10-06 12:57:28 +02:00
Ewoud
ffb0ad760d Solve gamma reset bug + super sync nodes compare and update (WIP)
cfg.cpp: update "light" only if value set (gamma correction bug)

index.js
- implement SuperSync function (WIP)
- ddpAll: refactor extendedNodes
- populateNodes: make things more straightforwared
- add panelX and Equal column to compare current and desired values
- add matrix to extendednodes and set the right values (WIP)
2023-10-05 15:36:28 +02:00
Ewoud
cea994c282 Deterministic mode of effects only when SuperSync is on
Temporary - to compare both modes

Octopus
Soap
CrazyBees
2023-10-04 11:56:00 +02:00
Ewoud
06220946c0 Refactor Nodes popup for SuperSync
(WIP)
2023-10-03 17:57:57 +02:00
Ewoud
76aa3072b6 Octopus and Crazy Bees Super Sync compatible 2023-10-02 12:45:56 +02:00
Ewoud
37e1624729 Make Soap effect Super Sync compatible 2023-10-01 21:13:16 +02:00
Ewoud
342f99ca27 Effects to Instances: effects non-deterministic: now instead of millis
index.js
- genPresets: Temporary for deterministic effects test: Set to 11/Raibow instead of 1/Random smooth palette

FX.cpp
- replace all millis() by strip.now
2023-09-30 12:23:53 +02:00
Ewoud
9be4ce1721 Save basic panel layout in config 2023-09-29 21:46:40 +02:00
Arne
18c62734be Increase update time of static effect to avoid lag 2023-09-24 17:20:59 +02:00
Frank
015ce11b72 esp32: 9 LED pins with audioreactive
this allows to use 9 (instead of 8) LED pins on esp32.
2023-09-22 18:52:06 +02:00
Frank
7425b437da (WIP) adjust Battery usermod for "MM Style"
seems to work, but still needs more testing.
2023-09-20 00:43:03 +02:00
Frank
e28d303d4c adjust RTC usermod for "MM Style" 2023-09-19 22:54:08 +02:00
Frank
a79243135a Matrix effect speedup
Typically, more than 50% of pixels are black. 
This optimization avoids to fade and rewrite already black pixels.
2023-09-18 16:04:17 +02:00
Frank
598e0bc061 matrix: fix for a corner case (e.g. gapmaps)
workaround for a corner case; if the reference pixels falls into a "gap" then gPC returns BLACK. Solutions is to reject BLACK.
2023-09-18 15:36:34 +02:00
Frank
f1d4bf2729 bugfix for #3375
* improves robustness of the Matrix effect, by dynamically adjusting the "reference color" used to identify "falling code" head pixels.
* a bit faster, as I've removed the need to scan all pixels a second time for "black screen" detection.

Its still not perfect, and the main loop could be simplified a lot by leveraging on the fact that all changes actually happen in the top row, and "falling" is actually just moving everything down by one pixel.
2023-09-18 15:09:58 +02:00
Frank
0808335565 npm run build
yo'man
2023-09-17 19:31:23 +02:00
Frank
fd15047220 Squashed commit of the following:
commit 84148ad07a7ac94993dc9dfd0bdc6d7a8d9e47ac
Author: Blaz Kristan <blaz@kristan-sp.si>
Date:   Sun Sep 3 12:34:17 2023 +0200

    Implement palette colors

commit af3c8f66f7e77dd6306ceadf2cea26a41336e439
Author: Blaz Kristan <blaz@kristan-sp.si>
Date:   Tue Aug 1 18:18:41 2023 +0200

    revert wled00.ino

commit 3097a1b17efa06b78d52611b3a9d3c519a15ed17
Author: Blaz Kristan <blaz@kristan-sp.si>
Date:   Tue Aug 1 18:13:37 2023 +0200

    minor aesthetic fixes

commit 54b80f74b2dc8766951d55438c6bc560b33e505b
Author: Blaz Kristan <blaz@kristan-sp.si>
Date:   Tue Aug 1 18:09:32 2023 +0200

    remove unused variable

commit 9a78d28cd71da998cdd76ba826946f54ee2044bd
Merge: 56a74bc5 1ed81793
Author: Blaz Kristan <blaz@kristan-sp.si>
Date:   Tue Aug 1 18:08:29 2023 +0200

    Merge branch 'main' into PJH_ADD_Linearbounce

commit 56a74bc54c5bbf189b1f98c6cd216956b4f6bd6c
Author: pjhatch <66844564+pjhatch@users.noreply.github.com>
Date:   Sat Aug 15 12:34:13 2020 -0500

    Update FX.cpp

    Added the improvements suggested by Gregor Hartmann

commit a20358b61bf0c38356438c87e5c59663524e038e
Author: pjhatch <66844564+pjhatch@users.noreply.github.com>
Date:   Sun Jul 12 08:33:48 2020 -0500

    Adding 2 ball track modes

    With and without collisions

commit 341d9d1697e9af4fdf2fbd5b4c1de935d0b5a229
Author: pjhatch <66844564+pjhatch@users.noreply.github.com>
Date:   Sun Jul 5 14:55:14 2020 -0500

    Update FX.cpp

    Still 1 bug to fix - this was a test.

commit 9cee4243837f35431302814cc7ace13a72ab5fed
Author: pjhatch <66844564+pjhatch@users.noreply.github.com>
Date:   Sun Jul 5 14:53:14 2020 -0500

    Update FX.cpp

commit 37cb51cfd6991f6041d663de72debfdcf349c1da
Author: pjhatch <66844564+pjhatch@users.noreply.github.com>
Date:   Thu Jul 2 14:16:25 2020 -0500

    Adding Collision

    A couple of bugs still need sorting

commit 84b7bfb989e662e37a47d78e381105b3951311a6
Author: pjhatch <66844564+pjhatch@users.noreply.github.com>
Date:   Sun Jun 28 19:59:46 2020 -0500

    update for lost balls

    Added some protection - so that when intensity is lowered and raised some time later balls that have moved way off the track are recovered.

commit 04d17e483956b74754002da4cb4dfcddaf932f7b
Author: pjhatch <66844564+pjhatch@users.noreply.github.com>
Date:   Sun Jun 28 19:43:56 2020 -0500

    Added Ball Track V1

    In this version the balls bounce of the edges and do not interact with one another.
2023-09-17 19:19:37 +02:00
Frank
61cd9dfc9f potentiometer: check that pin supports ananlogread
newer esp32 frameworks will throw lots of warnings when trying to read from a non-analog pin.
2023-09-17 19:18:57 +02:00
Frank
51999b65ad Merge pull request #3373 from Aircoookie/ripple-tweak
2D Ripple and Meteor effect tweak
2023-09-17 19:13:49 +02:00
Frank
0fcbefb7a5 fixing a few implicit promotions to double
any expression with at least on "double" is evaluated as double, which is slow.
2023-09-17 19:11:31 +02:00
Christian Schwinne
d3f3f6330b Add WiFi network scan RPC command to Improv Serial (#3271) 2023-09-01 18:07:00 +02:00
Blaz Kristan
a26ff4ccbd Button bugfix. 2023-09-01 10:48:33 +02:00
Blaz Kristan
2653b42a63 Fix for #3352 2023-09-01 10:46:32 +02:00
Andre Lackmann
10ccd0e623 Removed current cycle assignment that clears current value (#3262) 2023-09-01 10:45:30 +02:00
Frank
d065e3332f Reduce static JSON buffer size on -S2/-C3
Reduce static buffer allocation, hoping to improve overall stability.
2023-08-30 01:04:13 +02:00
Frank
95f6e7e47a allow Lolin Wifi Fix on -S3 2023-08-29 12:33:50 +02:00
Frank
5e0dbfc285 -S2: slightly reduced static JSON buffer size 2023-08-28 12:53:52 +02:00