Mistery: I2C not working, blink working

PaulS:

    analogWrite(21, 0);

Does pin 21 have a little squiggly next to it to indicate that it is a PWM pin? If not analogWrite isn't going to do anything.

Oh, my fault, you are right. But it not explains why does not I2C working.

As I understand I2C is digital protocol, but why we can use ony 2 pins for it?