Good site www.rentron.com, I managed to learn a lot from there a few years back. Your code looks quite different from the example shown. As for it searching for the brightest source of light under ambient conditions, I think you're expecting just a bit too much from it. LDR's don't really respond to minor variations in light. But not only that, there's not enough goods in the project to make it go searching to begin with. The brightest area of a room might be on the left hand side - while the robot is stuck on the right hand side in a World full of unchanging light levels.
Bookmarks