Mistery: I2C not working, blink working

    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.