Let's Make Robots!

wrong

Why won't it vark?

I've made a development bot named Arcee as some of you know, now i've added an AmandaLDR to it for obstacle avoiding.The LEDs on the sensor are very bright and blue in colour. The bot won't use a servo to pan the sensor, it'll simply rotate itself.

The problem is, I don't think it's working. But the sensor works, oddly enough. It can turn an LED on at a threshold. But once implemented into an obstacle avoidance code it dosen't seem to work.

The code is attached below.