Circuit design · LEDs and resistors

The pin has a resistor inside

A microcontroller pin sags when it supplies current, and the resistance inside it belongs in every LED calculation you make.