use TimerOne library to tune PWM output for less flicker