train control

yup that works :slight_smile: but there are still 2 separate commands i wanted too connect them too be very
very sure the reading 682 belongs too the left sensor. it would be very unlikely that the program
mixing the lines but with problem 1 it seems arduino having a hard time listening
too my code. :confused:

i updated the code a Little. changed pins, checked al wires remove the motor shield and
re upload and reset about 40 times :slight_smile:

and always the same result

Even after 6sec it refuse too see the value drop of the left LDR.
I heard LDR can be slow but THAT slow :o i dont think that is the case.

Finaly if it does see the value drop it ignore it and execute the if statement that clearly
say`s the value has to be greater than 200