make pwm output non linear

The problem with the log converters is that you loose the PWM signal. This means there is a dead region where you are not outputting enough voltage to turn the LED on. So you end up with the same sort of precision as if you had used software, perhaps even worse.

The answer is to use an external LED driver chip with more bits.