netmindz
e979c58c98
Merge pull request #4609 from willmmiles/usermod-cfg-live
...
Use live cfg json instead of file for usermod settings page
2025-04-06 09:28:45 +00:00
Will Miles
9c8f8c645e
Rename 'doSerializeConfig' to 'configNeedsWrite'
...
Clarify the name and usage of this flag, as the function name has
changed out from underneath it.
2025-03-23 15:16:52 -04:00
Will Miles
e21a09cec9
Separate FS write from serializeConfig
...
Break the actual JSON assembly apart from the file writing code. This
permits calling it in other contexts, allowing us to pull the live
config data even if the filesystem is out of date.
2025-03-23 15:15:52 -04:00
Damian Schneider
494b72c287
Merge remote-tracking branch 'upstream/main' into perlin_noise
2025-03-12 20:15:40 +01:00
Damian Schneider
95dcb03f6d
updated scaling
2025-03-12 06:56:33 +01:00
Will Tatam
0ba80ce61e
Merge branch 'main' into usermod-libs
2025-03-11 22:31:52 +00:00
Blaž Kristan
2b666ab9f7
Merge branch 'master' into multifix
2025-03-08 12:59:15 +01:00
Damian Schneider
4ecc531998
updated scaling, improved hashing, updated rotozoomer to not use a buffer
2025-03-08 12:48:27 +01:00
Damian Schneider
5e8073022b
3D works but needs finetuning to match old looks
2025-03-07 06:39:49 +01:00
Damian Schneider
9553425374
some speed improvements using better hash, scaling is still off...
...
needs a proper scaling analysis of all steps in all resolutions to minimize errors.
2025-03-04 07:55:41 +01:00
Damian Schneider
2012317bc9
initial version, basically working but repetitive patterns, work in progress
2025-03-03 06:57:16 +01:00
Will Miles
e00789f838
Merge remote-tracking branch 'upstream/main' into usermod-libs
2025-03-01 20:32:12 +00:00
Blaž Kristan
dd80919ed6
Merge pull request #4429 from blazoncek/use-bssid
...
Add ability to enter desired BSSID
2025-02-19 13:46:49 +01:00
Blaž Kristan
6ea9535463
Avoid shadowing global col[]
2025-02-19 11:54:03 +01:00
Blaž Kristan
b70b222f80
Replace magic with cosntant
2025-02-19 11:39:48 +01:00
Blaž Kristan
7b56e53c47
Nested playlist
2025-02-19 11:19:59 +01:00
Will Tatam
1dc7647bb9
Merge branch 'main' into usermod-libs
2025-02-16 10:40:30 +00:00
Damian Schneider
b34d65fce0
fix for incorrect hardware timing
2025-02-15 10:34:44 +01:00
Blaž Kristan
a0c55c6406
Merge pull request #4484 from blazoncek/parallel-I2S
...
WWA strip support & parallel I2S for S2/S3 (bumping outputs from 5/4 to 12)
2025-02-13 19:10:37 +01:00
Will Miles
a5b972d87e
Merge remote-tracking branch 'upstream/main' into usermod-libs
2025-01-31 02:51:56 +00:00
Will Miles
dc317220b3
Debug: Dump web server queue state
...
This can be helpful for debugging web handler related issues.
2025-01-23 19:10:43 -05:00
Blaž Kristan
3debaf0f41
Merge branch 'main' into use-bssid
2025-01-20 17:46:56 +01:00
Blaž Kristan
1c4ba20646
Merge branch 'bus-improvements' into parallel-I2S
2025-01-19 12:41:17 +01:00
netmindz
48f5099646
Merge pull request #4495 from netmindz/DMX-Input-AC
...
Add Wired DMX Input support
2025-01-17 19:31:25 +00:00
netmindz
b2aac9f991
Merge pull request #4386 from DedeHai/ESPNow_glitchfix
...
Fix for ESPNow remote causing output glitches
2025-01-16 13:01:00 +00:00
Will Tatam
3996f02dea
Revert "Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT"
...
This reverts commit 7f9cc6751875dd4882f91bf58adcb820d76cab8c.
2025-01-16 12:19:25 +00:00
Arne
68e9d701de
Do no longer disable dmx_input when cache is disabled.
...
No longer needed because missing ISR_ATTR have been added to esp_dmx.
2025-01-16 12:15:37 +00:00
Arne
67e8a00b6d
rename initDmx() -> initDmxOutput()
2025-01-16 12:11:21 +00:00
Arne
11b48bc374
rename handleDMX() handleDMXOutput()
2025-01-16 12:10:13 +00:00
Arne
7f9cc67518
Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT
2025-01-16 12:05:40 +00:00
Arne
84eb6fd460
Add dmx input port to configuration
2025-01-16 11:47:48 +00:00
Arne
b178c08271
Support dmx rdm personality change
2025-01-16 11:42:16 +00:00
Arne
aed03cd03b
hack: disable dmx receiver while wifi is being activated
...
This fixes a crash in the dmx receiver. The dmx receiver cannot work while cache is disabled. For some reason activating wifi disables the cache. In theory, the driver is placed in iram and should work, but it doesn't. This might be a bug in the driver.
2025-01-16 11:35:04 +00:00
Arne
a3bcf92ea5
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.
2025-01-16 11:29:39 +00:00
Will Tatam
0ad31c90f6
fix merge error
2025-01-16 11:26:42 +00:00
Arne
f06a1e8b49
Extract dmx_input from dmx.cpp into dmx_input.cpp.
...
This greatly improves readability because it gets rid of most of the
ifdefs.
2025-01-16 11:21:41 +00:00
Arne
a0ca243955
Move dmx_input pin allocations from wled.cpp to dmx.cpp
2025-01-16 11:20:19 +00:00
Arne
702d085117
rename global dmx... variables to dmxInput...
...
This is the first step in supporting both dmx input and dmx output on different pins.
2025-01-16 11:16:39 +00:00
Blaž Kristan
adead9b578
Bus wrapper modifications
...
- NeoPixelBus update 2.8.3
- automatic selection of appropriate I2S bus (`X1xxxxxxMethod`)
- removed I2S0 on ESP32 (used by AudioReactive)
- renumbered internal bus numbers (iType)
- added buffer size reporting
Bus modifications
- WWA strip support
- bus initialisation rewrite
- optional parallel I2S (ESP32, S2 & S3)
2025-01-12 15:17:22 +01:00
Will Miles
b8685f2c39
Convert usermods to static libraries
...
Redesign the usermod system so that usermods are implemented as
PlatformIO libraries instead of headers. This permits them to call for
dependencies, and eliminates the compiler flags for enabling each one,
allowing the build cache to behave better.
The usermod list is built using some linker magic to construct a static
list in ROM memory. This eliminates the need for wasting SRAM on
something fixed at build time.
2025-01-11 12:08:29 -05:00
Blaž Kristan
272129f66c
Add ability to enter desired BSSID
...
- add event handling (debug)
- fixes #2151
2024-12-25 15:54:50 +01:00
Damian Schneider
5f77478841
Replace PRNG with hardware RNG ( #4225 )
...
Both ESP8266 and ESP32 have a hardware random register. This update makes use of that. It is slightly faster than the fastled variants but mostly it is truly random, even when the timing limitations stated in the datasheet are disregarded. Also saves a bit on code size.
- Replaced all random8() and random16() calls with new hw_random() versions
- Not replaced in FX where PRNG is required
2024-12-20 19:12:29 +01:00
Damian Schneider
cae98451e3
Merge remote-tracking branch 'upstream/main' into 0_15__speed_improvements
2024-12-20 09:12:01 +01:00
Damian Schneider
fd3b47908b
renamed functions, changed timeout to 24ms
2024-12-19 17:41:44 +01:00
Damian Schneider
e16d3bf040
Fix: output-glitching on ESPNow remote command reception
...
Processing of received button command is no longer processed in the callback, instead the value is saved to a variable and processed in the main loop.
The actual fix is to not access the file system while data is being sent out: even just trying to open a non-existing file causes glitches on the C3. Waiting for the bus to finish fixes this BUT it causes a frame-delay which is the lesser evil than random color flashes.
2024-12-13 07:40:04 +01:00
Blaž Kristan
1c220d25ca
WiFi reconnect bugfix
...
- additional debug info
2024-12-07 16:47:50 +01:00
Blaž Kristan
5c2bac4b9d
Merge branch '0_15' into 0_15__speed_improvements
2024-11-09 10:53:27 +01:00
Frank
d98ca9a202
show correct flash mode in WLED_DEBUG
2024-11-01 21:51:46 +01:00
Blaz Kristan
a4c49aa35e
Fix for #4005
2024-10-02 20:15:58 +02:00
Blaz Kristan
ba3a61f623
Reduced code size by:
...
- removing WS2812FX::setMode()
- removing WS2812FX::setColor()
- removing floating point in transition
- color handling modification in set.cpp
- replaced uint8_t with unsigned in function parameters
- inlined WS2812FX::isUpdating()
- (MAY BE BREAKING) alexa & smartnest update
2024-10-02 20:14:25 +02:00