Continually poll the values for the line sensors - end when the red "Enter" button is pressed.