I’m using an esp32 which three strips of ws2821b strips, with 147 on one strip, 183 on the next and finally 220 on the last one. Since the WiFi causes flickering, and adding #define FASTLED_ALLOW_INTERRUPTS 0 made it far worse, I thought that shutting down the WiFi would help.
So I wrote a simple sketch to make sure that would work, without any FastLED stuff.
void loop()
{
if (millis() % 15000 == 0){
if (WiFi.isConnected()){
Serial.println(‘Disconnectin…’);
WiFi.disconnect();
}
else{
connectWiFi();
}
}
}
Doing exactly the same thing but running a strip with FastLED caused the esp32 to crash.
Am I correct that the timing of the FastLED might potentially conflict with the WiFi? Is there a workaround for this?