coding for ir sensor

19 May 2016

i want to make a coding with input of ir sensor and the output of two different leds; red and green. can u help me or suggest the coding that i should make