From linear to exponential PWM output

you are right, if the LUT changes runtime you cannot use PROGMEM.