6580 Commits

Author SHA1 Message Date
Ewoud
06220946c0 Refactor Nodes popup for SuperSync
(WIP)
2023-10-03 17:57:57 +02:00
Ewoud
76aa3072b6 Octopus and Crazy Bees Super Sync compatible 2023-10-02 12:45:56 +02:00
Ewoud
37e1624729 Make Soap effect Super Sync compatible 2023-10-01 21:13:16 +02:00
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
Ewoud
9be4ce1721 Save basic panel layout in config 2023-09-29 21:46:40 +02:00
Arne
18c62734be Increase update time of static effect to avoid lag 2023-09-24 17:20:59 +02:00
Arne
e7271216ae switch to esp_dmx v3.1 dependency 2023-09-24 13:39:14 +02:00
Arne
a5820bcae0 npm run build after rebase 2023-09-24 13:30:31 +02:00
Arne
a204b83d16 make compile after rebase 2023-09-24 13:30:17 +02:00
Arne
19dfc36834 npm run build 2023-09-24 13:30:17 +02:00
Arne
4a8d3e3df1 Move dmx_input into its own task on core 0.
This was necessary because otherwise it is not able to respond to rdm in time.
2023-09-24 13:30:17 +02:00
Arne
ff2953bab5 Do no longer disable dmx_input when cache is disabled.
No longer needed because missing ISR_ATTR have been added to esp_dmx.
2023-09-24 13:30:17 +02:00
Arne
7cccb2e181 rename initDmx() -> initDmxOutput() 2023-09-24 13:30:17 +02:00
Arne
6efd7457e0 rename handleDMX() handleDMXOutput() 2023-09-24 13:30:17 +02:00
Arne
038d41f849 rename dmx.cpp -> dmx_output.cpp 2023-09-24 13:30:17 +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
2465e2edc3 keep dmx rdm identify on if dmx disconnects.
Some rdm testers disconnect after setting it.
2023-09-24 13:30:09 +02:00
Arne
03b164f94c Support dmx rdm personality change 2023-09-24 13:30:09 +02:00
Arne
6f61c8cda9 track rdm_device_label branch of esp_dmx until PR is done 2023-09-24 13:30:09 +02:00
Arne
6f761f54a5 track v3.1 of esp_dmx 2023-09-24 13:30:09 +02:00
Arne
1e9e9875bb comments and cleanup 2023-09-24 13:30:09 +02:00
Arne
11552de977 handle rdm dmx address changes 2023-09-24 13:30:09 +02:00
Arne
6262cf4bce extract creation of dmx config into own method 2023-09-24 13:30:09 +02:00
Arne
fd239ac75f Monitor dmx personality and dmx start address for change and update rdm 2023-09-24 13:30:09 +02:00
Arne
e098230bf2 extract test for rdm identify into own method 2023-09-24 13:30:09 +02:00
Arne
7d4aeb7fab add enable/disable methods for dmxInput 2023-09-24 13:30:09 +02:00
Arne
220225ce74 rename settings 2023-09-24 13:30:09 +02:00
Arne
fe84a9ad8a 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.
2023-09-24 13:30:09 +02:00
Arne
cf52c31693 pin esp_dmx to a working commit.
The current release/v3.1 is buggy and cannot receive dmx.
Until that is fixed we are sticking to the last working commit
2023-09-24 13:30:09 +02:00
Arne
369c728c2c handle dmx rdm identify 2023-09-24 13:30:09 +02:00
Arne
3da53bbed7 handle DMX_INPUT in PinManger::getOwnerText 2023-09-24 13:30:09 +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
3ee003a400 Move globals to top of file and change scope to compile unit only.
Some minor cleanup changes
2023-09-24 13:30:09 +02:00
Arne
b4bbf0a5cb Extract dmx_input from dmx.cpp into dmx_input.cpp.
This greatly improves readability because it gets rid of most of the
ifdefs.
2023-09-24 13:30:09 +02:00
Arne
a516a7b85f Move dmx_input pin allocations from wled.cpp to dmx.cpp 2023-09-24 13:30:09 +02:00
Arne
5ad90e9642 Adapt to new api of esp_dmx v3.1 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
Arne
97dcce0248 Update esp_dmx dependency version to 3.1 2023-09-24 13:30:09 +02:00
Frank
0ba8402e72 Align ADC init with WLED-SR
Feedback from SR is "it works better with analog", so let's align the driver code as much as possible.
2023-09-23 22:49:09 +02:00
Frank
015ce11b72 esp32: 9 LED pins with audioreactive
this allows to use 9 (instead of 8) LED pins on esp32.
2023-09-22 18:52:06 +02:00
Troy
2dee0ddd46 Merge branch 'MoonModules:mdev' into downsample4x 2023-09-20 12:19:26 -04:00
Frank
7425b437da (WIP) adjust Battery usermod for "MM Style"
seems to work, but still needs more testing.
2023-09-20 00:43:03 +02:00
Frank
e28d303d4c adjust RTC usermod for "MM Style" 2023-09-19 22:54:08 +02:00
Frank
acc2d3aa10 clean up I2C pin handling in audioreactive (ES7243+ES8388)
* remove double Wire.begin() - Wire cannot be re-initialized; its already started by pinManager.joinWire()
* Only use global I2C pins; make sure that audireactive I2C settings are aligned with global I2C pins
* minor cleanup
* remove I2C pins from AudioSource::initialize()

Note to self: sdaPin, sclPin are just dummy values now, good for UI consistency, but unused otherwise. Could be removed.
2023-09-19 19:33:36 +02:00
Frank
b3d9621427 fix wrong signature of SPH0654::initialize()
* debug messages added to different initializers
* SPH0654::initialize() was having a wrong signature: uint8 instead of int8.

C++ can be a real bastard ;-)
2023-09-19 16:42:45 +02:00
Frank
89c33607bc SR_DEBUG shows stack high water marks
some debug support for showing free stack space.
2023-09-18 22:05:53 +02:00
Frank
a79243135a Matrix effect speedup
Typically, more than 50% of pixels are black. 
This optimization avoids to fade and rewrite already black pixels.
2023-09-18 16:04:17 +02:00
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
Troy
370e43c864 Merge branch 'MoonModules:mdev' into downsample4x 2023-09-18 09:17:34 -04:00