Improved timer resolutions with pwmwrite