Commit Graph

5360 Commits

Author SHA1 Message Date
Brandon502
f528aef6ba GoL - Allows default overlay mode.
Flicker fixed by always redrawing dead cells if overlay unchecked. Can swap between overlay types by checking/unchecking overlayBG.
2024-06-05 01:07:27 -04:00
Brandon502
9f1ea87fb1 Merge branch 'mdev' of https://github.com/Brandon502/WLED into mdev 2024-06-04 16:19:23 -04:00
Brandon502
8c3e2cefab GoL - Rework
Blur now fades while game is paused.
New blur mode when blur slider is >220
Added variables to make code easier to follow instead of check1 custom1 etc. (not needed)
Removed % with random8 calls.
Misc changes
2024-06-04 16:18:54 -04:00
Brandon502
5baffaf034 Merge branch 'MoonModules:mdev' into mdev 2024-06-04 12:06:11 -04:00
Frank
c532b5d31a Add UI error 14 description 2024-05-31 18:18:58 +02:00
Blaz Kristan
d0941fd876 Add UI error description. 2024-05-31 18:15:22 +02:00
Brandon502
56ae0b034a Merge remote-tracking branch 'upstream/mdev' into mdev 2024-05-30 18:40:18 -04:00
Frank
9ff665b788 another unprotected Serial real 2024-05-29 15:51:44 +02:00
Frank
15199dc711 protect unconnected USB-CDC from being used
found a few more places where Serial was used without first checking if its connected.

Arduino docs: `if (Serial)` indicates whether or not the USB CDC serial connection is open. For all non-USB CDC ports, this will always return true
2024-05-29 15:43:24 +02:00
Will Tatam
6a93f46881 Disable serial console on default adafruit_matrixportal_esp32s3 builds so they boot without usb 2024-05-26 14:42:16 +01:00
Will Tatam
827cdc2f5b AutoPlaylist - prevent swapping playlist after silence ended when Suspended 2024-05-26 13:47:52 +01:00
Brandon502
7657c90c75 GoL - Uses cIndex more consistently 2024-05-24 14:38:35 -04:00
Brandon502
aea68df813 Merge branch 'mdev' of https://github.com/Brandon502/WLED into mdev 2024-05-24 14:12:33 -04:00
Brandon502
b673748e61 Merge branch 'MoonModules:mdev' into mdev 2024-05-24 14:11:35 -04:00
Brandon502
84128eef8b GoL - Changed speed slider to updates/sec
Every 4 ticks of speed adds 1 update per second. 1 - 64.
2024-05-24 14:10:16 -04:00
Brandon502
886ea5f88c GoL - Palette Switching
Recolors all live cells on palette/color change. Before you needed a game restart or mutation over time.
2024-05-24 13:41:49 -04:00
Brandon502
631aa35718 GoL - Change default values.
General cleanup.
2024-05-24 13:20:29 -04:00
Brandon502
8491cf18f7 GoL - Removed pauseFrames
Uses .step now to pause.
2024-05-24 13:00:10 -04:00
Brandon502
09dad1d796 GoL - Added blur slider
Blurs dead cells instead of immediately turning off depending on slider value. Blur is disabled when using overlay.
2024-05-24 12:45:13 -04:00
Frank
7d364bcc04 Update platformio.ini - matrixportal flash size
use correct partitions file for 8MB
2024-05-24 18:03:26 +02:00
Brandon502
eb3406e200 GoL Memory Leak fix
Removed gameoflife struct.
2024-05-24 11:35:34 -04:00
Frank
6f6ba307c8 drip effect bugfixing
* bring back lost parameter "Fall ratio" (MM specific)
* stabilize the math, avoid rounding errors and unsigned overflows
* speed limit for long strips added
* gravity reduced slightly
2024-05-24 17:28:19 +02:00
Frank
738078c167 too much information (pio) 2024-05-24 17:23:12 +02:00
Frank
21e6b4d62f optimization
replacing MIN / MAX (arduino macros) by more efficient min/max (libc templates)
2024-05-24 11:26:28 +02:00
Frank
a50e77db26 2D Crazy Bees bugfixes
* solve int8 overflow on "error2" (large fixtures) - based on 2c87f7e752
* use fast int types where possible
2024-05-24 11:12:50 +02:00
Frank
14efccecea minor 2024-05-24 10:46:58 +02:00
Frank
016499fccb wledmm_print_all_defines (optional)
for pio.ini debugging
2024-05-24 01:38:04 +02:00
Frank
d9247fc1ad dump build flags with value
... I'm still trying to write C code in python ;-)
2024-05-23 23:42:06 +02:00
Frank
42e7805e5f dump important build_flags after compile
Usermods and Features:
  USERMOD_AUDIOREACTIVE  UM_AUDIOREACTIVE_USE_NEW_FFT  USERMOD_AUTO_PLAYLIST
  WLED_DISABLE_LOXONE  WLED_DISABLE_ALEXA  WLED_DISABLE_HUESYNC  WLED_DISABLE_MQTT  WLED_DISABLE_INFRARED  WLED_DISABLE_ADALIGHT  WLED_DISABLE_ESPNOW
   WLED_ENABLE_DMX_INPUT  WLED_USE_PSRAM_JSON
WLEDMM Features:
  WLEDMM_FASTPATH

note1: I have no idea about specialties of python - it could surely be done in a "more elegant" way.

note2: the lists sometimes contain duplicates.
2024-05-23 20:03:53 +02:00
Frank
eb3200bb29 align JSON release info with upstream 0_15 (update page, JSON "info")
align with upstream /json/info
* info.release
* info.arch
* info.clock
* info.flash
2024-05-22 13:03:30 +02:00
Blaž Kristan
a25e608e2b Fix for #3991 2024-05-21 12:56:24 +02:00
Frank
1b9b2dcffe minimal Auto segment creation bugfix
based on 13bfda56ef
2024-05-18 21:49:09 +02:00
Frank
31cca47024 disable TWOPATH as default flag
needs more testing - may bring flickering back ....
2024-05-17 21:45:50 +02:00
Frank
a0514bb7ee fix compiler warning 2024-05-17 21:40:59 +02:00
Frank
0c7450407e WLEDMM_TWOPATH - use I2S driver for second output
* TWOPATH is up to 20% faster in some situations.
* user_print for showing the driver unit (I2S#n, RMT#x) on serial
2024-05-17 21:24:10 +02:00
Frank
d29a4e3ead (experimental) adding NeoPixelBus 2.7.9 2024-05-17 21:20:55 +02:00
Frank
0c6c707c6b robustness improvements for game of life
* fixed: dataSize could be too small if size is not a multiple of 8
* use size_t for memory size
* clear LEDS on first run - just to make sure that buffer optimizations in segment class work as expected
2024-05-16 17:31:46 +02:00
Ewoud
83d3f27c8c Merge remote-tracking branch 'Brandon502/mdev' into mdev 2024-05-16 15:21:57 +02:00
Blaz Kristan
9feec7f24e Compiler warning fix 2024-05-16 00:07:48 +02:00
Blaz Kristan
64b1d76893 Palette loading optimisation
- fixes #3978
- FX: Firenoise can use selected palette
2024-05-16 00:07:18 +02:00
Frank
e17c30ebd7 Merge pull request #3961 from Brandon502/0_15
Added Pinwheel Expand 1D ->2D effect mapping mode
2024-05-15 22:35:18 +02:00
Troy
118163d982 Didn't work. Reverting. 2024-05-13 01:16:27 -04:00
Brandon502
6d2fc5040c Game of Life Change
Removed sizeof(byte)
2024-05-11 17:03:58 -04:00
Troy
250000de08 Removed check for WLEDMM_SLOWPATH as it breaks WLEDMM_SLOWPATH
Seemingly this breaks WLEDMM_SLOWPATH, which forces RMT for all channels to reduce glitching in big installations. This check actually makes the glitching much worse versus completely fixed in these situations, for reasons I don't fully understand yet.
2024-05-11 12:37:39 -04:00
Frank
2144613423 compatibility with upstream arduinoFFT 2.x
its still recommended to use the softhack007 version - -> optimized for ESP32 boards, and  reduced memory footprint
 https://github.com/softhack007/arduinoFFT.git#develop @ 1.9.2
2024-05-11 13:57:49 +02:00
Frank
1cd18e7f08 Live preview: faster handling of "off" 2024-05-10 19:22:41 +02:00
Frank
7b58727254 bugfix for sound sync - fftResult[] did not use 255
transmitData.fftResult[] and fftResult[] are both uint8, no need to constrain the value.
2024-05-08 21:39:38 +02:00
Frank
5a377103b5 small accuracy improvement
(int)currentResult is a truncation, so we need to add 0.5 for proper rounding.
also changed inefficient "constrain" into faster max(min( ...))
2024-05-08 21:04:07 +02:00
Troy
e08ae84a83 Allow 8 AoftAP clients (for Dom)
Increases the allowed SoftAP clients so folks doing syncing "in the field" can connect more devices without a proper WiFi network.
2024-05-08 12:18:31 -04:00
Frank
adf5afe84a include the GPLv3 permission statement in some MM-specific files
Please note that these statements are included for clarification purposes only.
WLED-MM specific source code is always provided under GPLv3, see LICENSE.
2024-05-08 12:52:07 +02:00