Hi, the line following code is not working, it keeps on moving forward regardless of what the sensors read. The sensors change from 30/40 to over 100, but for every number combination it keeps on moving forward. Do I need to change the thresholds? and if so, how do I do that? Thank you
Please provide us with the printout information after you execute the code, so that we can analyze the problem.
Is there a blue adjuster on your grayscale sensor? If so, use the screw to twist the adjuster and adjust the adjustment value to the maximum. (Be careful to adjust according to the printout)
If not, follow our tutorial link Calibrating the Grayscale Module step by step: