Added smoothing for LED brightness level