Don't knkow what you are doing. I tested on UNO and Leonardo. It worked perfectly on both boards.
Not for me. The '|=' is still the problem. If you don't use '=' or clear the register first, you don't know how the register is set at the end.
And the code doesn't creat a servo suitable signal. How do you check if it works?