Commit Graph

4754 Commits

Author SHA1 Message Date
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
bcc0517d87 Merge pull request #1039 from pjhatch/PJH_ADD_Linearbounce
Pjh add linearbounce
2023-09-17 19:19:37 +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
de4a409c7b 8266 optional build flags to increase IRAM
related to #3364
2023-09-17 19:13:30 +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
Frank
c276515f5a default pins for Mini shield with Lolin -S2 mini 2023-09-15 12:28:50 +02:00
Frank
64223dbc02 audioreactive: stack size tuning
This gives ~3KB extra free heap on -S2.
2023-09-14 18:31:24 +02:00
Frank
da614c6f19 temporarality disabled ARTI-FX in _S builds
There seem to be some incompatibilities when compiling with -O2 (optimize for speed). Root cause still unclear - further investigation needed.
2023-09-13 12:35:58 +02:00
Frank
1ddb654bab autosave usermod: minor fix
display->canDraw() is only availeable in _ALT four-line-display usermod
2023-09-11 12:02:10 +02:00
Frank
fc6c097abb putting autosave back into _M category
fingers crossed this will not break builds where flash usage is already close to 98%
2023-09-11 12:00:59 +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
c4ec968654 -S2: only use PSRAM for JSON data
Avoids some slowdown - generally PSRAM is too slow for storing time-critical data.
2023-08-30 00:50:56 +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
Frank
5cf33b116b add LOLIN WiFi fix for -S2 build envs (MM style) 2023-08-28 11:59:52 +02:00
Frank
c23da2b376 Correct WLED_RELEASE_NAME
Fix two buildenvs where release name did not match the build environment name
2023-08-27 02:16:57 +02:00
Frank
129f5ec312 release preparations
* npm run build
* enable CI build for esp32_4MB_S and esp32S3_8MB_S (both optimized for speed)
* add animartrix to esp32S3_8MB_S
* workaround for gcc ICE (only happens with V4 framework and -O2 optimize for speed)
2023-08-27 00:54:14 +02:00
Frank
aa09241363 version 0.14.0-b27.31 2023-08-26 23:41:50 +02:00
Frank
bb6f84d18c pin summary: don't report "fake" conflicts with same owner
sometimes happens in debug mode.

GPIO    | Assigned to           | Info
--------|-----------------------|------------
i/o   1   debug output      !! Conflict with debug output !!      Serial TX
2023-08-25 17:26:40 +02:00
Frank
2b34b30314 net debug for esp32_4MB_S 2023-08-25 17:13:42 +02:00
Frank
e6e30abfeb 8266: improve accuracy of FPS calculation
based on a similar correction I made in upstream recently.
2023-08-25 16:51:07 +02:00
Frank
523893be02 8266 audioreactive: fix crash during OTA
* fix crash when starting OTA: `Panic core_esp8266_main.cpp:191 __yield `
* prevent sound sync reconnect during OTA
2023-08-25 16:18:37 +02:00
Frank
07d204e431 enable AGC in new installs
if SR_SQUELCH is specified by the build env, change AGC default to enabled.
2023-08-25 15:00:49 +02:00
Frank
254013d374 8266: net debug for MM style configs
Adding net debug to all 8266 MM buildenvs
2023-08-24 23:46:57 +02:00
Frank
730b0ece87 cleanup for the cleanup
eliminating a duplicate condition in `#if`
2023-08-24 22:56:02 +02:00
Frank
31badb0e66 8266 onUpdateBegin, and minor cleanup
* 8266 audioreactive: added minimal `onUpdateBegin()`
* small cleanups
2023-08-24 22:50:50 +02:00
Frank
63375f5c84 esp32 audioreactive bugfix
small mistake, huge impact: the right way is to first create our FFT task, then check if task creation was successful.
2023-08-24 22:21:48 +02:00
Frank
6379a61828 Update CONTRIBUTING.md 2023-08-24 18:02:38 +02:00
Frank
f09fd7b50e Update CONTRIBUTING.md
small update for coding style
2023-08-24 17:56:37 +02:00
Frank
9e4f040d41 esp8266 build envs
new: esp8266_2MB_S
updated: esp8266_4MB_S
2023-08-24 14:21:47 +02:00
netmindz
1b3ae20e6d Merge pull request #60 from MoonModules/ESP8266-Sync
Audio sync receive only - EPS8266
2023-08-23 18:59:45 +01:00
Frank
ecc6f1aa62 bugfix
seems I was too fast with removing _P from strncmp_P
2023-08-23 15:39:32 +02:00
Frank
1306cc0412 show kernel debug messages in debug builds 2023-08-23 14:42:07 +02:00
Frank
023279c702 8266: minor buildenv updates
* -Wno-register not needed any more (solved in FastLED 3.6.0)
* ARDUINOJSON_DEBUG added to debug_flags
* use WLEDMM_PROTECT_SERVICE on 8266, too
2023-08-23 14:42:07 +02:00
Frank
3255530ee3 basic debug support on 8266 2023-08-23 14:40:47 +02:00
Frank
82f9080609 show kernel debug messages in debug builds 2023-08-23 13:19:48 +02:00
Frank
087de86127 8266: minor buildenv updates
* -Wno-register not needed any more (solved in FastLED 3.6.0)
* ARDUINOJSON_DEBUG added to debug_flags
* use WLEDMM_PROTECT_SERVICE on 8266, too
2023-08-23 13:18:48 +02:00
Frank
d221745e3f some improvements
* remove some internal variables (soundAgc, multAgc, ....)
* prototype for autoResetPeak(void)
* changed `#ifndef ESP8266` to `#ifdef ARDUINO_ARCH_ESP32`
* replacement code for computing max sample
* Info Page: "audio source" added (idle/receiving/not connected/Off)
2023-08-23 12:37:30 +02:00
Frank
2cc6925f17 agcSensitivity (to align um_data with esp32)
all elements of um_data must be filled, otherwise some effects will crash.
This adds a dummy " agcSensitivity" value that stays at 128.
2023-08-22 23:42:03 +02:00
Frank
f689d5115b 8266 hotfix: solving connectivity problems
* it seems that `WiFiUDP.flsuh()` does something completely different from 8266, and  its actually causing WLED to stall on UI calls. So not usable on 8266.
* fixing a few compiler warnings about "comparing signed and unsigned"

NB: its a hotfix, we have to check if there are other problems on 8266. Also its definitely ugly, but it helps as a band aid.
2023-08-22 23:17:57 +02:00
Frank
1c7d5d766d minor fix for 8266
small typo, resulting in "A0" listed twice in the pin info.
2023-08-22 23:16:31 +02:00
Frank
92e64b797a 8266 hotfix: solving connectivity problems
* it seems that `WiFiUDP.flsuh()` does something completely different from 8266, and  its actually causing WLED to stall on UI calls. So not usable on 8266.
* fixing a few compiler warnings about "comparing signed and unsigned"

NB: its a hotfix, we have to check if there are other problems on 8266. Also its definitely ugly, but it helps as a band aid.
2023-08-22 22:55:05 +02:00