The sensors are infrared sensors. It works once and after it goes through the loop it stops working!
No, it doesn't. It simply doesn't do what you expect. So, clearly your expectations are wrong.
Where are your debugging statements?
The sensors are infrared sensors. It works once and after it goes through the loop it stops working!
No, it doesn't. It simply doesn't do what you expect. So, clearly your expectations are wrong.
Where are your debugging statements?