Interfacing to another PCB, I'm looking to pick up that a pump is being driven on.The back of the PCB has 4 LEDs commoned up on one side (I assume the ground side - anode of the 4 LEDs)On the other side of the LEDs, after a resistor is where I've picked up what should be a digital signal - high when the LED is being driven on, and low when LED is off.

Metering this, I was expecting (perhaps incorrectly) that the voltage would be 5v (the LED would be driven from the onboard PIC).What I got was 0.5v when the LED was off, and 1v when the LED was on.No problem, still a usable method of determining it.

My question based on the above is- I want to wire that into a digital input. So for it to read 'high', I think I need a transistor. If I use an NPN transistor from 5V to the digital Input, and feed it's base direct from the wire described above, will I get the desired behaviour?