Experimental parallel I2S support for ESP32

- increased outputs to 17
- increased max possible color order overrides
- use WLED_USE_PARALLEL_I2S during compile

WARNING: Do not set up more than 256 LEDs per output when using parallel I2S with NeoPixelBus less than 2.9.0
This commit is contained in:
Blaž Kristan
2024-05-12 11:12:13 +02:00
parent 522e5e7957
commit 1ff5cb0596
6 changed files with 156 additions and 102 deletions

View File

@@ -60,8 +60,12 @@
#define WLED_MAX_BUSSES 6 // will allow 4 digital & 2 analog
#define WLED_MIN_VIRTUAL_BUSSES 4
#else
// the 10th digital bus (I2S0) will prevent Audioreactive usermod from functioning (it is last used though)
// the last digital bus (I2S0) will prevent Audioreactive usermod from functioning
#ifndef WLED_USE_PARALLEL_I2S
#define WLED_MAX_BUSSES 10
#else
#define WLED_MAX_BUSSES 17
#endif
#define WLED_MIN_VIRTUAL_BUSSES 0
#endif
#endif