I am trying to write an arduino sketch for a robot that navigates an LED light grid, I need to know if what I am proposing is feasible?
I have built a robot with a singular chassis mounted LDR, I need to know if I can use the LDR and set a threshold that when passed will trigger an event in the code? So say for example
IF LDR threshold passes 800 THEN Turn left 90°,continue forward, turn right 90°.
I'm a complete Arduino novice so any advice would be hugely appreciated :)