2 Way Switch + Relay + Check LED Status

Hi All,

I have already built a solution with arduino by connecting it to a relay with 2 way switces.

The LED status can be detect by using "DigitalRead", but this only reads my GPIO status.

May I know how can I check the LED status when I use the 2 way switches to switch on the LED, when the relay or GPIO do nothings...

Thank you

yeowpin: Hi All, I have already built a solution with arduino by connecting it to a relay with 2 way switces. The LED status can be detect by using "DigitalRead", but this only reads my GPIO status. May I know how can I check the LED status when I use the 2 way switches to switch on the LED, when the relay or GPIO do nothings... Thank you

Show us your schematic diagram. We're not very good at reading minds. :)