This is just a digital indication, for real the infrared sensor is giving us an analog value that can then be analyzed to determine whether the sensor is closer to the margin or more the center of the line. 