Hi FastLED users! I have an ESP8266 running FastLED animations but would like to

Hi FastLED users!

I have an ESP8266 running FastLED animations but would like to send some data to Thingspeak simultaneously via the WiFiClient of the ESP8266. Unfortunately it causes short flickering of the animation. Is there any way to prevent that from happening?
Currently I am interrupting the loop function while using the client so FastLED.show() can’t get executed quickly enough which I think is the problem. However the ESP8266 crashes when I send data to Thingspeak by using the Ticker library so I don’t know a way around interrupting the loop function.

I appreciate any help I can get! :slight_smile:

I guess you are using leds that don’t use a clock pin?

Forgot to mention this. Yes, I’m using WS2812Bs.

I’d suggest switching LEDs to an SPI version like APA102 or SK9822

On ESP8266, I’ve had good luck putting FastLED.show() in a code block called by a Ticker object. See: https://github.com/esp8266/Arduino/blob/master/libraries/Ticker/examples/TickerBasic/TickerBasic.ino
Disclaimer: I’ve only used it for < 64 LEDs.