I am using a digital RGB strip to produce colour palettes. I have used code from github to do this, however I am wanting to increase the overall intensity/brightness by pressing a button.
I have tried to use the generic BRIGHTNESS term to set the brightness however it seems that I can not change the BRIGHTNESS value after the code has been uploaded. I have tried to put a if statement in to do this but it seems to not change the value of BRIGHTNESS. I have attached the code below, it can also be found at ColorWavesWithPalettes - demo of using cpt-city palettes in FastLED code · GitHub.
This code is more challenging for me to understand, hence I am asking this question. If you guys have any advice on how to change this so that I can adjust the level of brightness that would be much appreciated.
Code.txt (6.11 KB)