How to fade a LED logarithmically