Hi, well got my robot to follow light, to see if everything was working fine, but the weird thing is, instead of changing direction in real time, it only changes direction when i reset my arduino board, same thing happens if i watch the serial monitor.
for example
it prints out 500 to the serial monitor
keeps printing 500, even if i change the light source.