A simple PWM beep using timers 1 and 2

Thanks John, I got it working. And you are right, the code I posted worked fine. The problem I was having was in a different area. Process of elimination. Marking this issue as closed.