Connecting Dual LED to arduino board.

Dear all,

I am trying to conduct logical OR operation For LED USING ARDUINO UNO. Here i am attaching the image of it.

DUAL colour led.pdf (917 KB)

bicolor_two_lead.PNG

CONNECTION.gif

I’m not sure what your question is… is there a question?

JimboZA: I'm not sure what your question is... is there a question?

iN ABOVE CIRCUIT WHICH ONE IS CORRECT ONE

Both would work, but the bottom one of course means that you need access to the "middle" of the leds.

If it has 2 pins, use the top way.

If it has 3, well the bottom one is probably not exactly right, since the leds would usually have a common cathode or common anode. Your pic shows the "middle" being one's anode and the other's cathode. But if yours is really like that, you can code it to work anyhow.