Commit Graph

1185 Commits

Author SHA1 Message Date
Justin Mutter
a5161eb7f1 Use constant for mDNS name to allow setting from my_config.h (#3145) 2023-05-31 17:35:43 +02:00
Ewoud
e9a2777ee5 Dynamic Peek framerates 🎉 2023-05-29 21:53:48 +02:00
Ewoud
b1e9f825ca Bug fix, allocate string to store ledmap name 2023-05-29 18:33:49 +02:00
Blaz Kristan
5a8a8dc292 Feature implementation
- #2236
  - #1984
Better PSRAM handling
platformio.ini update
On/Off bus handling
2023-05-28 22:50:19 +02:00
Ewoud
305a5b19c4 leds(rgb): also adjusted if new ledmap + grow not shrink (unless...)
FX.h: add ledsrgbSize and allocLeds()
FX_fcn.cpp: 
- copy constructor: allocLeds()
- move constructor: no change
- copy assignment: reuse! + allocLeds()
- move asignment: no change
- resetIfRequired: no free
- setUpLeds/resetSegments: allocLeds()

unless...: copy constructor aften called. That is the bad boy causing re-allocs at every effect change!
2023-05-24 14:59:39 +02:00
Ewoud
b195596ad7 package.json and cdata.js: set urls to MoonModules
index.js: add logging (temp) and improve segment view redrawing
wled00.ini: add lps (temp)
wledserver.cpp: show client request done after its done
ws.cpp: show websocket events (temp?)
2023-05-24 11:49:47 +02:00
Frank
2cbdc55a85 Merge remote-tracking branch 'upstream/main' into mdev 2023-05-21 14:53:49 +02:00
Frank
e4a9f115cb fx functions: avoid memory corruption
* PSRAM_Allocator was missing the "reallocate" method, which lead to undefined behaviour when dynamic JSON doc needed to grow/shrink
* Segment::setUpLeds() quickfix for length() == 0 (should not happen, but it did happen for me once)
* leds in PSRAM causes major slowdown on wrover boards - disabled.
2023-05-21 14:33:25 +02:00
Ewoud
f491ad3a43 Nodes: DDS Ins bugfix 2023-05-18 09:44:19 +02:00
Ewoud
e0d2d28b19 Merge upstream post: temp usermod and new version 2023-05-17 11:50:24 +02:00
Ewoud
21c7347296 Minimal (de)allocs on customMappingTable (only grow, not shrink) 2023-05-16 15:13:30 +02:00
Ewoud
d6bc9967d0 Support for large ledmaps
optimize jMapC, enumerateLedmaps and deserializeMap
2023-05-16 13:12:30 +02:00
Ewoud
7e7d1065e9 Rename usermod_fastled to usermod_animartrix and add in _m 2023-05-13 22:33:03 +02:00
Ewoud
5b0551e59c From 0.14.0-b15.23 to 0.14.0-b15.24 2023-05-11 17:45:15 +02:00
Ewoud
eb6b890c6b Nodes tab more info + on/off button (WIP)
index.js:
- add callNode
- populateNodes more info and button calling node

remove fetchAndExecute from artifx.js (use the one in index.js) and add parms parameter

index.css: make #nodes div 980px wide
2023-05-11 17:08:33 +02:00
Frank
9e446210fb refresh build number 2023-05-09 17:57:17 +02:00
Ewoud
2077515b05 Bugfix: set colorwheel default on (for 1D) 2023-05-07 20:22:42 +02:00
Blaz Kristan
0aea75edb7 NeoPixelBus 2.7.5
UI bugfix
2023-04-28 16:52:48 +02:00
Frank
fb3477e5f6 soundreactive effect updated
* blurz: some visual improvements
* Matripix: improved color smoothness, Color by frequency (instead of volume), option to use sound pressure
* pixelwave: improved color selection, use sound energy instead of volume
* freqwave: some speedups, option to show frequency with "musical scale"

* gravfreq: fixed some math accidents that lead to horrible flickering
* default setting improved for some effects
2023-04-21 23:27:14 +02:00
Frank
9130e4be54 minor optimization of core LED functions
* use _fast_ integer types in loops - in contrast to "uint16_t" etc, the compiler can leave out range/overflow corrections, so it might run faster.
* fcn_declare.h: revive "WLED_USE_REAL_MATH" option, which can be a bit faster on ESP32.
2023-04-21 16:44:58 +02:00
Frank
00661de7fc accept up to 250 fps target in LED preferences
warning included.
2023-04-21 15:26:35 +02:00
Frank
d90ee766f6 PSRAM: you can have it, and eat it or not eat it
*This patch allows to compile with BOARD_HAS_PSRAM, but not set WLED_USE_PSRAM - reserved pins will be protected, and PSRAM usage will be shown in info.
* if you add `-D WLED_USE_PSRAM_JSON` then PSRAM will be used for some JSON buffers, but not for LEDs and Segments.
2023-04-19 17:58:50 +02:00
Frank
e2d3800fc3 woraround for spurious crash in serializePalettes
the root cause of the crash is not really clear, as the problem seems to occur randomly, mosr frequent with fresh installations.
This workaround prevents the array bounds violation, by re-using the last valid  gGradientPalettes entry.
2023-04-19 15:34:35 +02:00
Frank
8d85a52449 correct some stupid peak detection defaults
parameters C1 and C2 control peak detection. Previous defaults (c2=0 !!!) did not make any sense.
2023-04-17 21:35:47 +02:00
Frank
2585b785d9 remove duplictate dependancies (AsyncTCP 1.1.1)
* moving "pbolduc/AsyncTCP.git @ 1.2.0" on top of lib_deps, to prevent that AsyncTCP 1.1.1 is pulled in (due due dependacies from Aircoookie/ESPAsyncWebServer
* remove duplicate env.lib_deps from -S2 environments
2023-04-15 21:06:00 +02:00
Frank
cc9a19bc1d partial merge of upstream/main
* leaving out DotStarHspi5MhzMethod, as we are still on NPB 2.6.9 for eth boards
* leaving out the index.css/index.css changes, as I'm not sure how to merge this.

@ewoudwijma we need to merge the JS and CSS parts when you are back; I'll stay with our MM version for now.
2023-04-14 19:53:04 +02:00
Frank
10ca7c83ca enumerateLedmaps: prevent buffer overflow
make sure that bounds of char fileName[33] are not exceeded by sprintf.
2023-04-14 18:33:07 +02:00
Frank
122f54a274 prevent heat-up on tiny -C3 boards
* reduce LED default brightness
* unset "disable wifi sleep" when WLEDMM_WIFI_POWERON_HACK
2023-04-13 23:00:51 +02:00
Blaz Kristan
88139d95a7 Build bump. 2023-04-11 21:35:44 +02:00
Ewoud
ca9bd2270e Merge remote-tracking branch 'upstream/main' into mdev
Everything merged except platformio.ini
4ld has not been merged previously
Update version to 0.14.0-b15.22
2023-04-08 14:12:17 +02:00
Ewoud
212126b0ad esp8266_4MB_M: usermods maches max usermods, add net print,set flashsize 2023-04-07 16:40:24 +02:00
Ewoud
a6e2cf0b26 ARTI-FX: Fix printing to USER_PRINT (if !logToFile) 2023-04-07 13:57:27 +02:00
Ewoud
4aea3970a3 ARTI-FX support 8266 (experimental!!) add soundpressure
Add ARTI-FX to esp8266_4MB_M (experimental!)

Arti.h
- FREE_SIZE ESP.getFreeHeap() for 8266
- define asChar(x) to print to Serial/File depending on ESP32/8266
- artiPrintf: print to USER_PRINTF (experimental)

Arti_wled.h
- add ARDUINO_ARCH_ESP8266 to ARTI_ARDUINO
- add soundPressure

usermod_v2_artifx.h: use FREE_SIZE
2023-04-07 12:43:38 +02:00
Ewoud
20a91454d1 Post marge: regenerate html_settings 2023-04-06 21:01:38 +02:00
MoonModules
7ffe25d55c Merge branch 'mdev' into DMX-Input-esp_dmx 2023-04-06 20:51:20 +02:00
Ewoud
753f5621d1 ws sendLiveLedsWs: no skiplines to show large matrices uncompressed 2023-04-06 11:49:16 +02:00
Ewoud
cae1c00467 ARTIFX add support for pixelart + small changes
arti_wled.h:
- add jsonToPixels and frameTime
- change printf to print

usermod_v2_artifx
- return MAX(frameTime,FRAMETIME); 

FX.h and FX_2Dfcn.cpp
- add jsonToPixels

audioreactive.h
- ES8388 allow for default and add moon
2023-04-05 13:22:50 +02:00
Ewoud
4997145d8e Fastled usermod, add Stefan Petrick effects PolarBasics & CircularBlobs
CC BY-NC 3.0 licensed effects only include this usermod only if you accept the terms!

Therefore not enabled in platformio.ini builds.
2023-04-04 13:02:43 +02:00
Ewoud
3dd7873143 First b15 daily build: add fastled usermod 2023-04-02 15:50:09 +02:00
Ewoud
eead626dd5 0.14.0-b15.21 release! 2023-04-02 13:22:38 +02:00
Frank
11a02bb814 DJLight upgrade
* normal mode: similar to 0.13.x version
* candy factory mode: produce more brighter colors
2023-04-01 23:21:02 +02:00
Frank
292c4e25ba small updates
* colors.cpp: disable gamma calculation if CIE table mode is active (WLED_USE_CIE_BRIGHTNESS_TABLE)
* fx.cpp: small improvement to FreqMap, and bugfix for effects that modify binNum / maxVol
* pio: update for Line-In shield pins (final hardware version)
2023-04-01 22:13:46 +02:00
Blaz Kristan
4ec1140cb4 Optimizations & bugfix. 2023-03-31 13:26:03 +02:00
Blaz Kristan
2a5d20058f iPad/tablet with 1024 pixel UI PC mode.
Optimizations.
2023-03-30 21:35:23 +02:00
netmindz
d64cbc9059 Merge branch 'MoonModules:mdev' into DMX-Input-esp_dmx 2023-03-30 19:05:19 +01:00
Will Tatam
db812439ff Merge branch 'mdev' into DMX-Input-esp_dmx 2023-03-30 15:26:05 +01:00
Will Tatam
901ab7a6fc Trying to move DMX Input setting to sync menu 2023-03-30 12:35:45 +01:00
Ewoud
82dc456fd7 Rename Custom Effects to ARTI-FX 2023-03-30 10:02:08 +02:00
Ewoud
d9c886abdc Create or delete bigPeek (click on smallPeek/bigPeek) 2023-03-29 21:59:49 +02:00
Ewoud
6316c5ef6b Optimize liveview2D 2023-03-28 16:02:29 +02:00