I’m having a flickering issue with WS2812B & FASTLED 3.1 using beatsin8 & fill_rainbow.
I set the FastLED.setBrightness to a bpm via beatsin8 and just as the brightness is rising at the top there is a strange flickr that I cannot get rid of. Do you think this might be because of WS2812B limitations ?
set_max_power_in_volts_and_milliamps(5, 500); // FastLED Power management set at 5V, 500mA.
to cap the power usage at 500mA.
But then, in your loop you have:
FastLED.setBrightness( bright );
FastLED.show();
///// BPM CODE END ////
show_at_max_brightness_for_power(); // Power managed display
You are calling both FastLED.show() and show_at_max_brightness_for_power. I can guaruntee you that show_at_max_brightness_for_power is going to pull the brightness down pretty far for 300 leds with a 500mA cap.
So, as your bright value goes up - you will have a call to show where the brightness will be high, say, 200, or 240, or such. Then immediately after that you have a show_at_max_brightness_for_power which will be a lot lower - and there’s your flickering.