My problem with PWM from TimerThree Library

rockwallaby:
I apologise that the neatness of my original code is destroyed when pasting here, it is all niceand neat in my editor.

Sounds like a tab issue. Convert tabs to spaces before posting and it should look OK.