Arduino Mega 2560 - inverting PWM

Both TCNT4=0 and TCNT4=1 give me initial 750 ms LOW signal and then starting 2Hz HIGH-LOW

Both TCNT4=0 and TCNT4=1 give me initial 750 ms LOW signal and then starting 2Hz HIGH-LOW

OK. This looks like we are going one full timer cycle at LOW before the compare values kick in. Does this always give a predictable LOW start independent of the state when the timer is stopped or slowed?

What happens if you start with TCNT4 set at ICR4-1? i.e. 7813.

cattledog:
What happens if you start with TCNT4 set at ICR4-1? i.e. 7813.

What happens? It happens that it WORKS PERFECTLY!!!!!
thank you a lot!