MEGA 2560 - Odd Timer Behavior first loop and intermittent thereafter

In this example only OCR3B is used to create the pulse. OCR3A is only used as TOP and should not generate any output. I think you can also use ICR3 as TOP in this case.

1 Like