Update and further question:
I'm sensing the state of 6 LED's using the resistor approach which a great with 5 out of the 6 LEDs. I'm using a resistor of great enough value not to light the LED.
The problem with one of the LED is that the sensing is unreliable (sometimes it would read the LED coming on and sometimes it wouldn't). Using a meter I found that when the problem LED was on the voltage was ~1.2V at point 2 of the original diagram where the other 5 were at close to zero. It is strange because all 6 LEDs are in the same circuit. The issue appears to be that the PIC sees the ~1V as high which makes sense.
I did tried the lm78L05 to92 approach but couldn't stop it causing the LED to be illuminated when the LED was off.
Any ideas?
Bookmarks