The CNY70 switches the LED LOW / for white and HIGH / for black via the Arduino, at a distance of approx. 5mm - 10mm to the ground or object.

In a school project, two CNY70s are to work on a vehicle following a line as line sensors.