Commit Graph

1185 Commits

Author SHA1 Message Date
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
Arne
e3f256bd44 Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT 2023-09-24 13:30:17 +02:00
Arne
6378771746 Add dmx input port to configuration 2023-09-24 13:30:17 +02:00
Arne
f4c8a31be9 Turn dmx_into into class with state.
This is much nicer to read and in the future more state will be added to support all the rdm stuff.
2023-09-24 13:30:09 +02:00
Arne
1bc6e25355 rename global dmx... variables to dmxInput...
This is the first step in supporting both dmx input and dmx output on different pins.
2023-09-24 13:30:09 +02:00
Frank
0808335565 npm run build
yo'man
2023-09-17 19:31:23 +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
31badb0e66 8266 onUpdateBegin, and minor cleanup
* 8266 audioreactive: added minimal `onUpdateBegin()`
* small cleanups
2023-08-24 22:50:50 +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
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
Frank
28ca62a055 build number up
some minor updates from upstream
- JSON API : fix (de)allocations of pins for buttons/IR/RELAY
- JSON API: added sync groups
2023-08-16 10:03:14 +02:00
Will Tatam
a399ec8c99 Rebuild test 2023-08-14 21:52:13 +01:00
Will Tatam
ca2106ad1d Rebuild test 2023-08-14 21:39:14 +01:00
Will Tatam
e3b796913d Rebuild test 2023-08-14 21:24:58 +01:00
Frank
44b77ffdc2 slightly increase buffer for oappend()
in some situations, 10 bytes were missing for audioreactive settings.
2023-08-14 13:24:22 +02:00
Frank
eecb0e700b quickfix for effect "double startup" problem
temporary workaround until fixed in upstream.

--> Please disable "Crossfade" in LEDs settings.
2023-08-10 13:58:57 +02:00
Frank
1b308ed3d9 Version ++ 2023-08-06 23:11:11 +02:00
Frank
f35f2c3a3a Default = preview gamma correction enabled. 2023-08-05 15:33:36 +02:00
Frank
8e678ffa5e allow gamma corrected preview without gamma corrected LEDs 2023-08-05 00:06:58 +02:00
Frank
f010adfe24 experimental: preview with gamma correction
.... actually we undo gamma adjustments, because screens (laptop, pad, etc) will apply their own gamma corrections.

Activate in LED settings: "Use Gamma correction for preview"

Colors in WLED are sometimes gamma corrected, sometimes not. This change tries to make the best out of the color mess, but its still not working properly in all configurations.
2023-08-04 22:03:53 +02:00
Frank
30d2757db9 version of the day 2023-08-01 12:53:36 +02:00
Frank
e4338fcaf7 version bump 0.14.0-b26.30 2023-07-30 21:58:47 +02:00
Frank
54d04eca9b Merge branch 'preview_espnow_pr3237' into mdev 2023-07-30 21:50:19 +02:00
Frank
ab5cf95be4 always define WLEDMM_PROTECT_SERVICE
moved from MM specific platformio.ini into wled.h
2023-07-29 03:07:08 +02:00
Frank
3446044b81 Merge branch 'mdev' into preview_espnow_pr3237 2023-07-28 10:47:24 +02:00
Frank
2393e86f11 build ++
increment build number
2023-07-28 10:41:34 +02:00
Clayton Sims
5e20f94b8e Support for ESP-NOW Wireless Remote Control (#3237)
* Initial checkin for ESP-NOW remote feature

* cleanup irrelevant comment

* don't bring in espnow package includes when feature disabled

* Formatting and removing inaccurate call mode hardcoding

* Fork ESP Now code by platform (8266 v. esp32)

* compiled html update

* Disable ESP-NOW remote by default on ESP32 until tested

* Enable ESP-NOW remote for ESP32

* Rename ESP NOW define

---------

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2023-07-27 17:17:41 +02:00
Frank
aff0e59ff0 cleanup and clarifications 2023-07-26 12:42:00 +02:00
Frank
e64aff28e7 (experimental) compiler optimization for speed instead of size
only for [env:esp32_4MB_S] and [env:esp32_16MB_V4_S]
2023-07-21 22:46:20 +02:00
Ewoud
54b321fb75 Release 0.14.0-b25.29 2023-07-15 14:14:09 +02:00
Frank
9a3a97eff1 pre-merge
cleanup:
- version increase
- clean up debug messages
- minor fixes in platformio.ini
- fix compilation with -D WLED_DISABLE_2D

helping the compiler to optimize:
- a few more __attribute__((pure))
- fx.cpp marked a few local functions as "static"
2023-07-13 19:58:48 +02:00
Frank
c22c92e3af preview at full brightness
* reverts global brightness in preview
* can NOT revert brightness reductions from auto brightness limiter.
2023-07-10 18:29:16 +02:00
Frank
9a832ed4ab build number upgrade 2023-07-08 23:11:02 +02:00
Frank
a84c361fab build number ++ 2023-07-01 20:35:25 +02:00
Blaz Kristan
1c53f14bd5 Temporary bugfix for #3264 2023-06-25 17:21:49 +02:00
Frank
582b96f846 robustness improvements
* handling of stop = 0 when calculating sizes (avoid unsigned underflow)
* make sure groupLength() is never zero (to avoid div/0)
* gapmaps: check for "(gapSize > 0)" added.

not sure if all the checks are 100% needed, but they will improve robustness in corner cases.
2023-06-21 13:30:40 +02:00
Frank
310daa61a8 improve segment code robustness
* Avoid uint16 underflow in width() and height(): stop > start is possible, and means "inactive segment".

* use size_t for ledsrgbSize, _dataLen and _usedSegmentData -  uint16_t could overflow in some situations.

* try to catch attempts to allocate zero bytes (inactive segment => size 0)
2023-06-21 01:43:26 +02:00
Frank
b3677bd9b9 post merge
index.js: indentation (tabs vs. spaces)
npm run build
increment build number
2023-06-16 12:36:04 +02:00
Frank
4f370686e2 2D Lissajous: revive old anti-aliased code
* added option to use original floating point code that features anti-aliasing.
Looks nice, but requires hardware floating point support (ESP32-S3, or "classic" ESP32 dual core).
2023-06-14 21:49:32 +02:00
Ewoud
07fdeb3ab7 Ledmaps without width and height specified 2023-06-13 17:58:00 +02:00
Ewoud
3560b27dc1 Tiny things 2023-06-08 18:47:56 +02:00
Ewoud
8d43af6acc Bug fix segment view, use ledmapMaxSize (TroyHack) 2023-06-08 18:34:10 +02:00
Ewoud
b332204978 Moving to version 0.14.0-b15.27 2023-06-07 23:32:36 +02:00
Frank
6fd647ab15 post-merge
* restore WLED_USE_PSRAM_JSON - not existing in upstream
* fix compiler warning about ambiguous "&"
2023-06-07 21:45:52 +02:00
Ewoud
b95ff2d74f Merge remote-tracking branch 'upstream/main' into mdev 2023-06-07 20:54:04 +02:00
Frank
cc08d42984 version bump 0.14.0-b15.26 2023-06-06 13:03:36 +02:00
Aircoookie
d383bc93c7 Changelog update
Reduce width of ethernet mode dropdown
2023-06-02 10:51:37 +02:00
Frank
404fb566fa partly disable waitUntilIdle() as its still work-in-progress
This disables parts of the new feature that might lead to delays, so basicially there is some detection, but no protection any more.

further development needed --> audio_fastpath branch

compile with -D WLEDMM_PROTECT_SERVICE to enable full protection.
2023-06-01 21:55:46 +02:00
Frank
0a5bfb656d avoid updating strip / segments while draving effects (ESP32 only)
💫 this is the way🌟
A new locking mechanism that allows to wait until strip.service() has completed.
2023-06-01 17:41:36 +02:00
Ewoud
bd7f1678d0 Hack to show Animartrix effects last in effects list 2023-05-31 21:34:19 +02:00