Interfacing optoelectric proximity sensor with arduino

TomGeorge:
Hi,
Have you got current limit resistors on the LEDs?

It would be easier for you to hand draw your circuit and photograph it.
Can you post a pic of the sensor?

Thanks.. Tom.. :slight_smile:

Hi Tom,
I have already posted the circuit diagram along with the code. It is the exact circuit that I have described. Let me know if I have not uploaded it correctly.