#define BRIGHTNESS_MAX 2.0 //if temperature is in between both strips brightness of 2 means both are at full power. otherwise brightness will be clipped
#define BRIGHTNESSCURVE 1.4
floatbrightness=set_brightness;
floatbrightness_change_per_loop=0;//will be calculated by Handler
pwmCW=pow((brightness*enable_fadevalue)/2.0,BRIGHTNESSCURVE)*2.0*temp*PWM_MAX;//calculate brightness for led stripe, scale to 0-1, ^2, rescale to 0-2, scale for pwm