Hi,
I have a Pic micro that drives a LED. The circuit is 3V3 through a 270R resistor, to the anode if the LED and the cathode is connected to a I/O line of the PIC. So a logic 0 lights the LED, a logic 1 keeps it off.
Can I connect this cathode / PIC IO line to another PIC microcontroller input line to monitor the state if the LED. The monitoring PIC would simple detect for a 0 i.e. when the LED is on.
Is there anything else to consider?
Best regards, Raj
I have a Pic micro that drives a LED. The circuit is 3V3 through a 270R resistor, to the anode if the LED and the cathode is connected to a I/O line of the PIC. So a logic 0 lights the LED, a logic 1 keeps it off.
Can I connect this cathode / PIC IO line to another PIC microcontroller input line to monitor the state if the LED. The monitoring PIC would simple detect for a 0 i.e. when the LED is on.
Is there anything else to consider?
Best regards, Raj