The implementation I have just uses timers, so every x mills the strip is updated, which means i don't have any flickering, its pretty smooth actually. I can actually run it whilst having two instances of the PID lib, the MQTT lib, web server lib... and it still worked just fine. I got MQTT to publish the number of iterations though my loop... per second, and it was >10,000 with all that.
The implementation I have just uses timers, so every x mills the strip is updated, which means i don't have any flickering, its pretty smooth actually. I can actually run it whilst having two instances of the PID lib, the MQTT lib, web server lib... and it still worked just fine. I got MQTT to publish the number of iterations though my loop... per second, and it was >10,000 with all that.