- hello!
I have made a circuit that consists of two IR Leds. The first Led is always ON and the second is flashing every 1 second.
how can I write an arduino code to make my infra red sensor distinguish between these two?
Can anyone tell me if there's a specific function to do so and if not what am I supposed to write?
(My sensor is connected to the Arduino and so are the two infra red Leds. the sensor basically measures distance from its position to the leds.)