Hello, a short question. I have a 20w cob led and i want to control them via a rotary encoder with procent values 0-100. At the moment i use a teensy 3.2 with 12 bit pwm with a linear mapping. But the eye perception is nearly logarithmic not linear and i would like to change this. But how do i do this in the best way? Is there a function in fast led to map the 0-100 value to the 0-4095 pwm value logarithmic? Thanks for your help!

Shared publicly