I was looking into the schematic of the Arduino Uno Rev3 particularly the built-in on board LED (connected to pin 13) and was curious about what was happening.
Here you can see pin 5 of port B being connected to what appears to be a comparator which is in feedback with its own output.
Why not just connect it via a 1K resistor to yellow LED L?