FastLED Temporal Dithering FastLED users can easily scale the brightness and power consumption of

psuedo code: if(isButtonPressed == true) brightness = brightness + 1;

or brightness = brightness - 1;

Why you post this question in this topic by the way?

I tried the code below

#define Brightness 30

if(results.value == 0x8503705D){
BRIGHTNESS == BRIGHTNESS+100;
colorWipe(CRGB::Yellow, 10);

}

The code triggers the color wipe which I want to have to give feedback that the brightness has increased. It is not increasing and I just keep getting the same brightness. Do I need to make brightness in my definition a variable instead of a fixed number?

BRIGHTNESS == BRIGHTNESS+100; should be BRIGHTNESS = BRIGHTNESS + 100.

define doesn’t make a variable. I think you are messing some things up.

I tried that and still no. The #define BRIGHTNESS seems like it should be more like
#define BRIGHTNESS B
int B=20;
I tried this and it also did not work.