You are using a blue 5 mm LED with the following datasheet values:
VF (typical) = 3.0 V at 20 mA
VF (maximum) = 3.4 V at 20 mA
The LED is connected to a 3.3 V supply through a 150 Ω resistor. During testing, the LED sometimes does not glow properly. What is the most likely reason?