Accurate analogwrite() - TIM counter clock set to 24MHz @ 500Hz