I've just had a look a proper look at the picture of the sensor bar on my computer rather than my phone. It looks like the IR LEDs might be mounted on the bar next to the IR sensors themselves. Are you trying to sense when there is an object close to a particular sensor, rather then sensing when an IR LED 'beacon' is in range of a particular sensor?
Jlawler:
I am only using three sensors since 2 of the five are pretty much worthless. Here is some of the only code I found.Void setup () {
Pinmode (x,input);
Pinmode (y, output);
Serial.begin(9600);
}
void loop (){
Serialprintin(analogread (x));
Delay (100);
If analogread(x) < 250)
//run motors one way
Else
//run motors another way
}
This code is never going to compile as it is, where did you get it from?